xplr: add libiconv as dependency when on darwin

This commit is contained in:
fortuneteller2k 2021-05-11 09:01:45 +08:00
parent 64f56c7fef
commit 9fea194ecd

View File

@ -1,4 +1,4 @@
{ lib, rustPlatform, fetchFromGitHub }:
{ lib, stdenv, rustPlatform, fetchFromGitHub, libiconv }:
rustPlatform.buildRustPackage rec {
pname = "xplr";
@ -11,6 +11,8 @@ rustPlatform.buildRustPackage rec {
sha256 = "00kmmdwwf9cll25bkszgin2021ggf9b28jlcpicin5kgw4iwlhkj";
};
buildInputs = lib.optional stdenv.isDarwin libiconv;
cargoSha256 = "1j43vwb885h355wdmjijz1qpkqn1dmb93hwi6vc035vkbbxs1g4r";
meta = with lib; {