about summary refs log tree commit diff
path: root/pkgs/development/tools/squawk/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/squawk/default.nix')
-rw-r--r--pkgs/development/tools/squawk/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/tools/squawk/default.nix b/pkgs/development/tools/squawk/default.nix
index 5270523caf6e..2190401c00bd 100644
--- a/pkgs/development/tools/squawk/default.nix
+++ b/pkgs/development/tools/squawk/default.nix
@@ -27,10 +27,10 @@ rustPlatform.buildRustPackage rec {
     rustPlatform.bindgenHook
   ];
 
-  buildInputs = lib.optionals (!stdenv.isDarwin) [
+  buildInputs = lib.optionals (!stdenv.hostPlatform.isDarwin) [
     libiconv
     openssl
-  ] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin (with darwin.apple_sdk.frameworks; [
     CoreFoundation
     Security
   ]);