3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #122284 from fortuneteller2k/fix-flavours

flavours: add missing libiconv dependency on darwin
This commit is contained in:
Pavol Rusnak 2021-05-09 09:27:42 +02:00 committed by GitHub
commit 90c2fb1f2f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, rustPlatform }:
{ lib, stdenv, fetchFromGitHub, rustPlatform, libiconv }:
rustPlatform.buildRustPackage rec {
pname = "flavours";
@ -11,6 +11,9 @@ rustPlatform.buildRustPackage rec {
sha256 = "sha256-rDy859jg+F8XC4sJogIgdn1FoT8cf7S+KORt+7kboAc=";
};
buildInputs = [ ]
++ lib.optionals stdenv.isDarwin [ libiconv ];
cargoSha256 = "sha256-cAXiAPhHdxdd8pFQ0Gq7eHO2p/Dam53gDbE583UYY/k=";
meta = with lib; {