about summary refs log tree commit diff
path: root/pkgs/tools/text/igrep/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/text/igrep/default.nix')
-rw-r--r--pkgs/tools/text/igrep/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/text/igrep/default.nix b/pkgs/tools/text/igrep/default.nix
index e2751197c717..a4c4a134c4b6 100644
--- a/pkgs/tools/text/igrep/default.nix
+++ b/pkgs/tools/text/igrep/default.nix
@@ -20,7 +20,7 @@ rustPlatform.buildRustPackage rec {
 
   cargoHash = "sha256-raSz/+u7P04qHmvdfYoWKOKtNtaFlgmT8Nw0ImhCMkU=";
 
-  buildInputs = lib.optionals stdenv.isDarwin [ Security ];
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ Security ];
 
   passthru.tests = {
     version = testers.testVersion { package = igrep; command = "ig --version"; };