about summary refs log tree commit diff
path: root/pkgs/development/tools/spr/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/spr/default.nix')
-rw-r--r--pkgs/development/tools/spr/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/tools/spr/default.nix b/pkgs/development/tools/spr/default.nix
index 7ecd5dcfb257..d7a9b4530c63 100644
--- a/pkgs/development/tools/spr/default.nix
+++ b/pkgs/development/tools/spr/default.nix
@@ -16,7 +16,7 @@ rustPlatform.buildRustPackage rec {
 
   cargoHash = "sha256-VQg3HDNw+L1FsFtHXnIw6dMVUxV63ZWHCxiknzsqXW8=";
 
-  buildInputs = lib.optional stdenv.isDarwin Security;
+  buildInputs = lib.optional stdenv.hostPlatform.isDarwin Security;
 
   meta = with lib; {
     description = "Submit pull requests for individual, amendable, rebaseable commits to GitHub";