handlr: fix darwin build
This commit is contained in:
parent
523572c9f3
commit
82f66a4050
|
@ -1,4 +1,4 @@
|
||||||
{ lib, rustPlatform, fetchFromGitHub, shared-mime-info }:
|
{ lib, stdenv, rustPlatform, fetchFromGitHub, shared-mime-info, libiconv }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "handlr";
|
pname = "handlr";
|
||||||
|
@ -14,6 +14,7 @@ rustPlatform.buildRustPackage rec {
|
||||||
cargoSha256 = "sha256-xDQV8wVlzItz0lzR1nVRPVsg7nSf/khUhevDlGgSO3g=";
|
cargoSha256 = "sha256-xDQV8wVlzItz0lzR1nVRPVsg7nSf/khUhevDlGgSO3g=";
|
||||||
|
|
||||||
nativeBuildInputs = [ shared-mime-info ];
|
nativeBuildInputs = [ shared-mime-info ];
|
||||||
|
buildInputs = lib.optional stdenv.isDarwin libiconv;
|
||||||
|
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
export HOME=$TEMPDIR
|
export HOME=$TEMPDIR
|
||||||
|
|
Loading…
Reference in New Issue