iputils: only use libidn on non-musl
This commit is contained in:
parent
e606e4d6a9
commit
5aed799ae0
@ -23,11 +23,12 @@ stdenv.mkDerivation rec {
|
||||
-i doc/Makefile
|
||||
'';
|
||||
|
||||
makeFlags = "USE_GNUTLS=no";
|
||||
# Disable idn usage w/musl: https://github.com/iputils/iputils/pull/111
|
||||
makeFlags = [ "USE_GNUTLS=no" ] ++ stdenv.lib.optional stdenv.hostPlatform.isMusl "USE_IDN=no";
|
||||
|
||||
buildInputs = [
|
||||
libsysfs opensp openssl libcap docbook_sgml_dtd_31 SGMLSpm libgcrypt libidn nettle
|
||||
];
|
||||
libsysfs opensp openssl libcap docbook_sgml_dtd_31 SGMLSpm libgcrypt nettle
|
||||
] ++ stdenv.lib.optional (!stdenv.hostPlatform.isMusl) libidn;
|
||||
|
||||
buildFlags = "man all ninfod";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user