about summary refs log tree commit diff
path: root/pkgs/development/libraries/fb303/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/fb303/default.nix')
-rw-r--r--pkgs/development/libraries/fb303/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/fb303/default.nix b/pkgs/development/libraries/fb303/default.nix
index 059e666027a0..659497d690f6 100644
--- a/pkgs/development/libraries/fb303/default.nix
+++ b/pkgs/development/libraries/fb303/default.nix
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
   nativeBuildInputs = [ cmake ];
   cmakeFlags = [
     "-DPYTHON_EXTENSIONS=OFF"
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     "-DCMAKE_OSX_DEPLOYMENT_TARGET=10.14" # For aligned allocation
   ];