about summary refs log tree commit diff
path: root/pkgs/tools/security/rucredstash/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/security/rucredstash/default.nix')
-rw-r--r--pkgs/tools/security/rucredstash/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/security/rucredstash/default.nix b/pkgs/tools/security/rucredstash/default.nix
index 972695ad565e..43166eb0bf8e 100644
--- a/pkgs/tools/security/rucredstash/default.nix
+++ b/pkgs/tools/security/rucredstash/default.nix
@@ -13,7 +13,7 @@ rustPlatform.buildRustPackage rec {
 
   cargoHash = "sha256-TYobVjjzrK3gprZcYyY98EvdASkq4urB+WiLlbJbwmk=";
 
-  buildInputs = lib.optional stdenv.isDarwin Security;
+  buildInputs = lib.optional stdenv.hostPlatform.isDarwin Security;
 
   # Disable tests since it requires network access and relies on the
   # presence of certain AWS infrastructure