about summary refs log tree commit diff
path: root/pkgs/development/tools/cotton/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/cotton/default.nix')
-rw-r--r--pkgs/development/tools/cotton/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/tools/cotton/default.nix b/pkgs/development/tools/cotton/default.nix
index ec39c399bdd5..bc54f3154949 100644
--- a/pkgs/development/tools/cotton/default.nix
+++ b/pkgs/development/tools/cotton/default.nix
@@ -24,7 +24,7 @@ rustPlatform.buildRustPackage rec {
     };
   };
 
-  buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ];
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ CoreServices ];
 
   meta = with lib; {
     description = "Package manager for JavaScript projects";