diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2015-10-15 13:57:38 +0200 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2015-10-28 10:09:34 +0100 |
commit | dd915f82e7ca180ad9adfef024e408e666e12c9d (patch) | |
tree | 41f93c2c5422596a71aae6476bf90f38dfddf63a /pkgs/tools/networking/unbound | |
parent | ad02a45af0cd9043337a424b76fb98cdb9488ba4 (diff) | |
download | nixlib-dd915f82e7ca180ad9adfef024e408e666e12c9d.tar nixlib-dd915f82e7ca180ad9adfef024e408e666e12c9d.tar.gz nixlib-dd915f82e7ca180ad9adfef024e408e666e12c9d.tar.bz2 nixlib-dd915f82e7ca180ad9adfef024e408e666e12c9d.tar.lz nixlib-dd915f82e7ca180ad9adfef024e408e666e12c9d.tar.xz nixlib-dd915f82e7ca180ad9adfef024e408e666e12c9d.tar.zst nixlib-dd915f82e7ca180ad9adfef024e408e666e12c9d.zip |
expat: split dev output
Diffstat (limited to 'pkgs/tools/networking/unbound')
-rw-r--r-- | pkgs/tools/networking/unbound/default.nix | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/pkgs/tools/networking/unbound/default.nix b/pkgs/tools/networking/unbound/default.nix index 1e1469d0010e..c15b7a99fe13 100644 --- a/pkgs/tools/networking/unbound/default.nix +++ b/pkgs/tools/networking/unbound/default.nix @@ -24,11 +24,10 @@ stdenv.mkDerivation rec { installFlags = [ "configfile=\${out}/etc/unbound/unbound.conf" ]; # get rid of runtime dependencies on $dev outputs - postInstall = '' - substituteInPlace "$lib/lib/libunbound.la" \ - --replace '-L${openssl.dev}/lib' "" \ - --replace '-L${libevent.dev}/lib' "" - ''; + postInstall = ''substituteInPlace "$lib/lib/libunbound.la" '' + + stdenv.lib.concatMapStrings + (pkg: " --replace '-L${pkg.dev}/lib' '-L${pkg.out}/lib' ") + [ openssl expat libevent ]; meta = with stdenv.lib; { description = "Validating, recursive, and caching DNS resolver"; |