about summary refs log tree commit diff
path: root/pkgs/tools/networking/unbound
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2018-06-09 12:56:53 -0400
committerMatthew Bauer <mjbauer95@gmail.com>2018-06-09 13:00:50 -0400
commite93a8cba4a00e8b1ca5be16c69f2d2adb193aa90 (patch)
treef96298a06e81d498d676769fac80c9ef6a842eca /pkgs/tools/networking/unbound
parentf523dc90257d14ae795f0807d05125364ae228ce (diff)
downloadnixlib-e93a8cba4a00e8b1ca5be16c69f2d2adb193aa90.tar
nixlib-e93a8cba4a00e8b1ca5be16c69f2d2adb193aa90.tar.gz
nixlib-e93a8cba4a00e8b1ca5be16c69f2d2adb193aa90.tar.bz2
nixlib-e93a8cba4a00e8b1ca5be16c69f2d2adb193aa90.tar.lz
nixlib-e93a8cba4a00e8b1ca5be16c69f2d2adb193aa90.tar.xz
nixlib-e93a8cba4a00e8b1ca5be16c69f2d2adb193aa90.tar.zst
nixlib-e93a8cba4a00e8b1ca5be16c69f2d2adb193aa90.zip
unbound: also replace -R in libunbound.la
This was increasing closure sizes as well.
Diffstat (limited to 'pkgs/tools/networking/unbound')
-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 d7ef54a2497d..974849d29460 100644
--- a/pkgs/tools/networking/unbound/default.nix
+++ b/pkgs/tools/networking/unbound/default.nix
@@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
     # get rid of runtime dependencies on $dev outputs
   + ''substituteInPlace "$lib/lib/libunbound.la" ''
     + stdenv.lib.concatMapStrings
-      (pkg: " --replace '-L${pkg.dev}/lib' '-L${pkg.out}/lib' ")
+      (pkg: " --replace '-L${pkg.dev}/lib' '-L${pkg.out}/lib' --replace '-R${pkg.dev}/lib' '-R${pkg.out}/lib'")
       buildInputs;
 
   meta = with stdenv.lib; {