about summary refs log tree commit diff
path: root/pkgs/tools/misc/zoxide
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/misc/zoxide')
-rw-r--r--pkgs/tools/misc/zoxide/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/misc/zoxide/default.nix b/pkgs/tools/misc/zoxide/default.nix
index 5b2d00f7538e..5c1ba44d156d 100644
--- a/pkgs/tools/misc/zoxide/default.nix
+++ b/pkgs/tools/misc/zoxide/default.nix
@@ -21,7 +21,7 @@ rustPlatform.buildRustPackage rec {
 
   nativeBuildInputs = [ installShellFiles ];
 
-  buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ];
 
   postPatch = lib.optionalString withFzf ''
     substituteInPlace src/util.rs \