about summary refs log tree commit diff
path: root/pkgs/tools/misc/code-minimap/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/misc/code-minimap/default.nix')
-rw-r--r--pkgs/tools/misc/code-minimap/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/misc/code-minimap/default.nix b/pkgs/tools/misc/code-minimap/default.nix
index db58ede25abf..2bc64b425e5f 100644
--- a/pkgs/tools/misc/code-minimap/default.nix
+++ b/pkgs/tools/misc/code-minimap/default.nix
@@ -18,7 +18,7 @@ rustPlatform.buildRustPackage rec {
 
   cargoHash = "sha256-5/UgEzkJw9XDgtS1jKyWh5ijTp3L+UQLuE5CXcyIgTs=";
 
-  buildInputs = lib.optional stdenv.isDarwin libiconv;
+  buildInputs = lib.optional stdenv.hostPlatform.isDarwin libiconv;
 
   meta = with lib; {
     description = "High performance code minimap render";