about summary refs log tree commit diff
path: root/pkgs/tools/misc/shadowenv/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/misc/shadowenv/default.nix')
-rw-r--r--pkgs/tools/misc/shadowenv/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/misc/shadowenv/default.nix b/pkgs/tools/misc/shadowenv/default.nix
index 34597142522c..3c18662db5e7 100644
--- a/pkgs/tools/misc/shadowenv/default.nix
+++ b/pkgs/tools/misc/shadowenv/default.nix
@@ -15,7 +15,7 @@ rustPlatform.buildRustPackage rec {
 
   nativeBuildInputs = [ installShellFiles ];
 
-  buildInputs = lib.optionals stdenv.isDarwin [ Security ];
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ Security ];
 
   postInstall = ''
     installManPage man/man1/shadowenv.1