mpc_cli: fix build on darwin

This commit is contained in:
Mario Rodas 2019-11-29 04:20:00 -05:00
parent b05d3d68b6
commit d43eda3fe5
No known key found for this signature in database
GPG Key ID: 4C4BEFD7B18DC5E8

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, mpd_clientlib, sphinx }:
{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, mpd_clientlib, sphinx, libiconv }:
stdenv.mkDerivation rec {
pname = "mpc";
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
sha256 = "1qbi0i9cq54rj8z2kapk8x8g1jkw2jz781niwb9i7kw4xfhvy5zx";
};
buildInputs = [ mpd_clientlib ];
buildInputs = [ mpd_clientlib ] ++ stdenv.lib.optionals stdenv.isDarwin [ libiconv ];
nativeBuildInputs = [ meson ninja pkgconfig sphinx ];