review comment

This commit is contained in:
Jude Taylor 2018-03-15 09:30:11 -07:00
parent a34479850e
commit ea1377419c

View File

@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
for i in Makefile po/Makefile; do
substituteInPlace $i --replace "prefix = /usr" "prefix = $out"
done
'' + stdenv.lib.optionalString stdenv.isDarwin ''
'' + stdenv.lib.optionalString (stdenv.isDarwin || stdenv.hostPlatform.isMusl) ''
echo "whois_LDADD += -liconv" >> Makefile
'';