about summary refs log tree commit diff
path: root/pkgs/tools/misc/hyperfine/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/misc/hyperfine/default.nix')
-rw-r--r--pkgs/tools/misc/hyperfine/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/misc/hyperfine/default.nix b/pkgs/tools/misc/hyperfine/default.nix
index 16de5fa76f3d..e4922824d729 100644
--- a/pkgs/tools/misc/hyperfine/default.nix
+++ b/pkgs/tools/misc/hyperfine/default.nix
@@ -20,7 +20,7 @@ rustPlatform.buildRustPackage rec {
   cargoHash = "sha256-E2y/hQNcpW6b/ZJBlsp+2RDH2OgpX4kbn36aBHA5X6U=";
 
   nativeBuildInputs = [ installShellFiles ];
-  buildInputs = lib.optional stdenv.isDarwin Security;
+  buildInputs = lib.optional stdenv.hostPlatform.isDarwin Security;
 
   postInstall = ''
     installManPage doc/hyperfine.1