about summary refs log tree commit diff
path: root/pkgs/tools/security/amber/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/security/amber/default.nix')
-rw-r--r--pkgs/tools/security/amber/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/security/amber/default.nix b/pkgs/tools/security/amber/default.nix
index 5cb96596564c..a02c0a7236cf 100644
--- a/pkgs/tools/security/amber/default.nix
+++ b/pkgs/tools/security/amber/default.nix
@@ -14,7 +14,7 @@ rustPlatform.buildRustPackage rec {
 
   cargoHash = "sha256-Joy+SO1zR78Eh5eK2bxyT0l3hCuLX/J3u/UvN+++6vg=";
 
-  buildInputs = lib.optionals stdenv.isDarwin [ Security ];
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ Security ];
 
   meta = with lib; {
     description = "Manage secret values in-repo via public key cryptography";