summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authorWill Dietz <w@wdtz.org>2018-01-13 13:06:23 -0600
committerWill Dietz <w@wdtz.org>2018-02-13 09:44:50 -0600
commit5d3af4225074cecbf43fc70740e616ee03406f02 (patch)
tree1fd72c9ae37d03f1f0f5b6c7ccc87471b330322a /pkgs/tools
parentcccf48ca0c5eeb9bf9815ce821e13c6390c32024 (diff)
downloadnixlib-5d3af4225074cecbf43fc70740e616ee03406f02.tar
nixlib-5d3af4225074cecbf43fc70740e616ee03406f02.tar.gz
nixlib-5d3af4225074cecbf43fc70740e616ee03406f02.tar.bz2
nixlib-5d3af4225074cecbf43fc70740e616ee03406f02.tar.lz
nixlib-5d3af4225074cecbf43fc70740e616ee03406f02.tar.xz
nixlib-5d3af4225074cecbf43fc70740e616ee03406f02.tar.zst
nixlib-5d3af4225074cecbf43fc70740e616ee03406f02.zip
unbound: don't build twice w/musl, second time fails :(
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/networking/unbound/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/networking/unbound/default.nix b/pkgs/tools/networking/unbound/default.nix
index 614447cd5ecf..cc2f994d0d54 100644
--- a/pkgs/tools/networking/unbound/default.nix
+++ b/pkgs/tools/networking/unbound/default.nix
@@ -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.