about summary refs log tree commit diff
path: root/pkgs/development/python-modules/gyp/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/gyp/default.nix')
-rw-r--r--pkgs/development/python-modules/gyp/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/gyp/default.nix b/pkgs/development/python-modules/gyp/default.nix
index ad9fb88eb7ba..b8d52cd944c4 100644
--- a/pkgs/development/python-modules/gyp/default.nix
+++ b/pkgs/development/python-modules/gyp/default.nix
@@ -18,7 +18,7 @@ buildPythonPackage {
     hash = "sha256-LUlF2VhRnuDwJLdITgmXIQV/IuKdx1KXQkiPVHKrl4Q=";
   };
 
-  patches = lib.optionals stdenv.isDarwin [
+  patches = lib.optionals stdenv.hostPlatform.isDarwin [
     ./no-darwin-cflags.patch
     ./no-xcode.patch
   ];