about summary refs log tree commit diff
path: root/pkgs/tools/security/rustscan/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/security/rustscan/default.nix')
-rw-r--r--pkgs/tools/security/rustscan/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/security/rustscan/default.nix b/pkgs/tools/security/rustscan/default.nix
index fc3ab5b2e013..6af9b974ac09 100644
--- a/pkgs/tools/security/rustscan/default.nix
+++ b/pkgs/tools/security/rustscan/default.nix
@@ -28,7 +28,7 @@ rustPlatform.buildRustPackage rec {
     patchShebangs fixtures/.rustscan_scripts/*
   '';
 
-  buildInputs = lib.optional stdenv.isDarwin Security;
+  buildInputs = lib.optional stdenv.hostPlatform.isDarwin Security;
 
   nativeCheckInputs = [
     perl