about summary refs log tree commit diff
path: root/pkgs/tools/misc/handlr/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/misc/handlr/default.nix')
-rw-r--r--pkgs/tools/misc/handlr/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/misc/handlr/default.nix b/pkgs/tools/misc/handlr/default.nix
index b2245eafe534..612331138572 100644
--- a/pkgs/tools/misc/handlr/default.nix
+++ b/pkgs/tools/misc/handlr/default.nix
@@ -14,7 +14,7 @@ rustPlatform.buildRustPackage rec {
   cargoHash = "sha256-30fSOzWq1CoIabPWGWndi/SaCN/ckxjlbtzuwV8rk6M=";
 
   nativeBuildInputs = [ installShellFiles shared-mime-info ];
-  buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ];
 
   preCheck = ''
     export HOME=$TEMPDIR