Merge pull request #122515 from fortuneteller2k/fix-xplr-darwin

xplr: add libiconv as dependency when on darwin
This commit is contained in:
Jörg Thalheim 2021-05-11 09:48:59 +01:00 committed by GitHub
commit b38859eed7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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; {