about summary refs log tree commit diff
path: root/pkgs/development/tools/watchman/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/watchman/default.nix')
-rw-r--r--pkgs/development/tools/watchman/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/tools/watchman/default.nix b/pkgs/development/tools/watchman/default.nix
index b60872dce673..aa915d89c7fa 100644
--- a/pkgs/development/tools/watchman/default.nix
+++ b/pkgs/development/tools/watchman/default.nix
@@ -49,7 +49,7 @@ stdenv.mkDerivation rec {
     "-DENABLE_EDEN_SUPPORT=NO" # requires sapling (formerly known as eden), which is not packaged in nixpkgs
     "-DWATCHMAN_STATE_DIR=${stateDir}"
     "-DWATCHMAN_VERSION_OVERRIDE=${version}"
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     "-DCMAKE_OSX_DEPLOYMENT_TARGET=10.14" # For aligned allocation
   ];
 
@@ -84,7 +84,7 @@ stdenv.mkDerivation rec {
     lz4
     zstd
     libiconv
-  ] ++ lib.optionals stdenv.isDarwin [ CoreServices ];
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ CoreServices ];
 
   cargoRoot = "watchman/cli";