about summary refs log tree commit diff
path: root/pkgs/tools/text/fst/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/text/fst/default.nix')
-rw-r--r--pkgs/tools/text/fst/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/text/fst/default.nix b/pkgs/tools/text/fst/default.nix
index 1f1b2950e160..c43a781cf6e1 100644
--- a/pkgs/tools/text/fst/default.nix
+++ b/pkgs/tools/text/fst/default.nix
@@ -17,7 +17,7 @@ rustPlatform.buildRustPackage rec {
 
   cargoHash = "sha256-yTbEaw+BbjVks3j7/b75kGoUjVftLaVYvYIdI/bbfdk=";
 
-  buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ];
 
   doInstallCheck = true;
   installCheckPhase = ''