about summary refs log tree commit diff
path: root/pkgs/by-name/ca/cargo-geiger/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/ca/cargo-geiger/package.nix')
-rw-r--r--pkgs/by-name/ca/cargo-geiger/package.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/by-name/ca/cargo-geiger/package.nix b/pkgs/by-name/ca/cargo-geiger/package.nix
index acfc59829eea..c29825cb86b5 100644
--- a/pkgs/by-name/ca/cargo-geiger/package.nix
+++ b/pkgs/by-name/ca/cargo-geiger/package.nix
@@ -33,10 +33,10 @@ rustPlatform.buildRustPackage rec {
   ];
 
   buildInputs = [ openssl ]
-    ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ CoreFoundation Security libiconv curl ]);
+    ++ lib.optionals stdenv.hostPlatform.isDarwin (with darwin.apple_sdk.frameworks; [ CoreFoundation Security libiconv curl ]);
   nativeBuildInputs = [ pkg-config ]
     # curl-sys wants to run curl-config on darwin
-    ++ lib.optionals stdenv.isDarwin [ curl.dev ];
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [ curl.dev ];
 
   # skip tests with networking or other failures
   checkFlags = [