flavours: add missing libiconv dependency on darwin

This commit is contained in:
fortuneteller2k 2021-05-09 09:12:25 +08:00
parent 918cf983fb
commit d8458c4564

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