about summary refs log tree commit diff
path: root/pkgs/by-name/co/cook-cli/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/co/cook-cli/package.nix')
-rw-r--r--pkgs/by-name/co/cook-cli/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/co/cook-cli/package.nix b/pkgs/by-name/co/cook-cli/package.nix
index fbebd0d7fb46..846d3fb52777 100644
--- a/pkgs/by-name/co/cook-cli/package.nix
+++ b/pkgs/by-name/co/cook-cli/package.nix
@@ -24,7 +24,7 @@ rustPlatform.buildRustPackage rec {
 
   buildInputs = [
     openssl
-  ] ++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.SystemConfiguration ];
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.apple_sdk.frameworks.SystemConfiguration ];
 
   postPatch = ''
     rm -rf "ui/public"