ncmpc: fix build on darwin

This commit is contained in:
Vincent Laporte 2018-01-31 07:35:08 +00:00
parent 1c04923d64
commit dccd8a2685
No known key found for this signature in database
GPG Key ID: EBD582ADDDB1F81F

View File

@ -15,6 +15,8 @@ stdenv.mkDerivation rec {
buildInputs = [ glib ncurses mpd_clientlib ];
nativeBuildInputs = [ meson ninja pkgconfig gettext ];
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
meta = with stdenv.lib; {
description = "Curses-based interface for MPD (music player daemon)";
homepage = https://www.musicpd.org/clients/ncmpc/;