about summary refs log tree commit diff
path: root/pkgs/tools/text/fastmod/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/text/fastmod/default.nix')
-rw-r--r--pkgs/tools/text/fastmod/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/text/fastmod/default.nix b/pkgs/tools/text/fastmod/default.nix
index e7b2f3b107c9..f8cc3055e905 100644
--- a/pkgs/tools/text/fastmod/default.nix
+++ b/pkgs/tools/text/fastmod/default.nix
@@ -18,7 +18,7 @@ rustPlatform.buildRustPackage rec {
 
   cargoHash = "sha256-sFrABp4oYhel+GONFsTbunq+4We2DicvF9A3FT/ZArc=";
 
-  buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security ];
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ libiconv Security ];
 
   meta = with lib; {
     description = "Utility that makes sweeping changes to large, shared code bases";