about summary refs log tree commit diff
path: root/pkgs/development/libraries/double-conversion/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/double-conversion/default.nix')
-rw-r--r--pkgs/development/libraries/double-conversion/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/double-conversion/default.nix b/pkgs/development/libraries/double-conversion/default.nix
index 212b854c1e33..857bb48c1154 100644
--- a/pkgs/development/libraries/double-conversion/default.nix
+++ b/pkgs/development/libraries/double-conversion/default.nix
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
   cmakeFlags = lib.optional (! enableStatic) "-DBUILD_SHARED_LIBS=ON";
 
   # Case sensitivity issue
-  preConfigure = lib.optionalString stdenv.isDarwin ''
+  preConfigure = lib.optionalString stdenv.hostPlatform.isDarwin ''
     rm BUILD
   '';