handlr: fix darwin build

authored by Stéphan Kochen and committed by Jonathan Ringer 82f66a40 523572c9

+2 -1
+2 -1
pkgs/tools/misc/handlr/default.nix
··· 1 - { lib, rustPlatform, fetchFromGitHub, shared-mime-info }: 1 + { lib, stdenv, rustPlatform, fetchFromGitHub, shared-mime-info, libiconv }: 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "handlr"; ··· 14 14 cargoSha256 = "sha256-xDQV8wVlzItz0lzR1nVRPVsg7nSf/khUhevDlGgSO3g="; 15 15 16 16 nativeBuildInputs = [ shared-mime-info ]; 17 + buildInputs = lib.optional stdenv.isDarwin libiconv; 17 18 18 19 preCheck = '' 19 20 export HOME=$TEMPDIR