about summary refs log tree commit diff
path: root/pkgs/tools/backup/awsbck/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/backup/awsbck/default.nix')
-rw-r--r--pkgs/tools/backup/awsbck/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/backup/awsbck/default.nix b/pkgs/tools/backup/awsbck/default.nix
index 8e00b8787c4a..756d7aa1261f 100644
--- a/pkgs/tools/backup/awsbck/default.nix
+++ b/pkgs/tools/backup/awsbck/default.nix
@@ -18,7 +18,7 @@ rustPlatform.buildRustPackage rec {
 
   cargoHash = "sha256-dMXaIFc0e6PMYiQrokQoUc1xAVCccE92WzM2fl7tOBQ=";
 
-  buildInputs = lib.optionals stdenv.isDarwin [ Security ];
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ Security ];
 
   # tests run in CI on the source repo
   doCheck = false;