about summary refs log tree commit diff
path: root/pkgs/development/libraries/leveldb/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/leveldb/default.nix')
-rw-r--r--pkgs/development/libraries/leveldb/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/leveldb/default.nix b/pkgs/development/libraries/leveldb/default.nix
index f5e7e2a638d2..9d2dfe468029 100644
--- a/pkgs/development/libraries/leveldb/default.nix
+++ b/pkgs/development/libraries/leveldb/default.nix
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
 
   buildInputs = [ snappy ];
 
-  nativeBuildInputs = lib.optional stdenv.isDarwin fixDarwinDylibNames ++ [ cmake ];
+  nativeBuildInputs = lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames ++ [ cmake ];
 
   doCheck = true;