about summary refs log tree commit diff
path: root/pkgs/tools/text/diffr/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/text/diffr/default.nix')
-rw-r--r--pkgs/tools/text/diffr/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/text/diffr/default.nix b/pkgs/tools/text/diffr/default.nix
index 9abc2fac5150..fbdf221d1206 100644
--- a/pkgs/tools/text/diffr/default.nix
+++ b/pkgs/tools/text/diffr/default.nix
@@ -13,7 +13,7 @@ rustPlatform.buildRustPackage rec {
 
   cargoHash = "sha256-RmQu55OnKfeuDGcJrfjhMKnxDatdowkvh3Kh4N8I8Sg=";
 
-  buildInputs = (lib.optional stdenv.isDarwin Security);
+  buildInputs = (lib.optional stdenv.hostPlatform.isDarwin Security);
 
   preCheck = ''
     export DIFFR_TESTS_BINARY_PATH=$releaseDir/diffr