about summary refs log tree commit diff
path: root/pkgs/by-name/ca/cargo-xwin/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/ca/cargo-xwin/package.nix')
-rw-r--r--pkgs/by-name/ca/cargo-xwin/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/ca/cargo-xwin/package.nix b/pkgs/by-name/ca/cargo-xwin/package.nix
index 78c6c9933e83..4f3b16c4ddee 100644
--- a/pkgs/by-name/ca/cargo-xwin/package.nix
+++ b/pkgs/by-name/ca/cargo-xwin/package.nix
@@ -18,7 +18,7 @@ rustPlatform.buildRustPackage rec {
 
   cargoHash = "sha256-xVG1nET020rfMIjhIcCtNr9ZCj8SgQAvXePjyKSPjUs=";
 
-  buildInputs = lib.optionals stdenv.isDarwin [
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
     darwin.apple_sdk.frameworks.Security
   ];