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

This commit is contained in:
Will Dietz 2018-01-13 13:06:23 -06:00
parent cccf48ca0c
commit 5d3af42250

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.