about summary refs log tree commit diff
path: root/pkgs/tools/text/ruplacer/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/text/ruplacer/default.nix')
-rw-r--r--pkgs/tools/text/ruplacer/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/text/ruplacer/default.nix b/pkgs/tools/text/ruplacer/default.nix
index 4453f7317db6..be4d46facc23 100644
--- a/pkgs/tools/text/ruplacer/default.nix
+++ b/pkgs/tools/text/ruplacer/default.nix
@@ -13,7 +13,7 @@ rustPlatform.buildRustPackage rec {
 
   cargoHash = "sha256-EyLompGEin12q6SC1M1D0QsE42HVEq5O/E99qi54cGo=";
 
-  buildInputs = (lib.optional stdenv.isDarwin Security);
+  buildInputs = (lib.optional stdenv.hostPlatform.isDarwin Security);
 
   meta = with lib; {
     description = "Find and replace text in source files";