unbound: don't build twice w/musl, second time fails :(

This commit is contained in:
Will Dietz
2018-02-13 09:44:50 -06:00
parent cccf48ca0c
commit 5d3af42250
+1 -1
View File
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
installFlags = [ "configfile=\${out}/etc/unbound/unbound.conf" ];
preFixup = stdenv.lib.optionalString stdenv.isLinux
preFixup = stdenv.lib.optionalString (stdenv.isLinux && !stdenv.hostPlatform.isMusl) # XXX: revisit
# Build libunbound again, but only against nettle instead of openssl.
# This avoids gnutls.out -> unbound.lib -> openssl.out.
# There was some problem with this on Darwin; let's not complicate non-Linux.