about summary refs log tree commit diff
path: root/pkgs/development/libraries/libbtbb/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/libbtbb/default.nix')
-rw-r--r--pkgs/development/libraries/libbtbb/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libbtbb/default.nix b/pkgs/development/libraries/libbtbb/default.nix
index e0e70005e25f..9ea153fab6f6 100644
--- a/pkgs/development/libraries/libbtbb/default.nix
+++ b/pkgs/development/libraries/libbtbb/default.nix
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
     sha256 = "1byv8174xam7siakr1p0523x97wkh0fmwmq341sd3g70qr2g767d";
   };
 
-  nativeBuildInputs = [ cmake ] ++ lib.optionals stdenv.isDarwin [ CoreServices ];
+  nativeBuildInputs = [ cmake ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ CoreServices ];
 
   # https://github.com/greatscottgadgets/libbtbb/issues/63
   postPatch = ''