about summary refs log tree commit diff
path: root/pkgs/by-name/ca/cargo-unfmt/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/ca/cargo-unfmt/package.nix')
-rw-r--r--pkgs/by-name/ca/cargo-unfmt/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/ca/cargo-unfmt/package.nix b/pkgs/by-name/ca/cargo-unfmt/package.nix
index 3a2a16dfaaf6..e53cc07c330c 100644
--- a/pkgs/by-name/ca/cargo-unfmt/package.nix
+++ b/pkgs/by-name/ca/cargo-unfmt/package.nix
@@ -19,7 +19,7 @@ rustPlatform.buildRustPackage {
 
   cargoHash = "sha256-mMeHTYCUIZR3jVvTxfyH4I9wGfUdCWcyn9djnksAY8k=";
 
-  buildInputs = lib.optionals stdenv.isDarwin [ libiconv darwin.apple_sdk.frameworks.Security ];
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ libiconv darwin.apple_sdk.frameworks.Security ];
 
   # Doc tests are broken on 0.3.3
   doCheck = false;