about summary refs log tree commit diff
path: root/pkgs/tools/misc/fselect/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/misc/fselect/default.nix')
-rw-r--r--pkgs/tools/misc/fselect/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/misc/fselect/default.nix b/pkgs/tools/misc/fselect/default.nix
index feeb9f3a3d21..95c5b4af0520 100644
--- a/pkgs/tools/misc/fselect/default.nix
+++ b/pkgs/tools/misc/fselect/default.nix
@@ -14,7 +14,7 @@ rustPlatform.buildRustPackage rec {
   cargoHash = "sha256-eqzqIyQHHklxo3aojCvY06TUPSqChoz6yZ2zzpgRNqs=";
 
   nativeBuildInputs = [ installShellFiles ];
-  buildInputs = lib.optional stdenv.isDarwin libiconv;
+  buildInputs = lib.optional stdenv.hostPlatform.isDarwin libiconv;
 
   postInstall = ''
     installManPage docs/fselect.1