diff options
author | Thomas Tuegel <ttuegel@gmail.com> | 2016-11-14 09:35:34 -0600 |
---|---|---|
committer | Thomas Tuegel <ttuegel@gmail.com> | 2016-11-15 07:20:11 -0600 |
commit | 12951219c61d4070a786366ca5aa3f601b4aae64 (patch) | |
tree | 3ad004eea7a00c73ff230b133e7960796a438ef5 /pkgs/development/libraries/ldns | |
parent | 1958f07c63ab0e51ee81cbaec2678e617c8ebfab (diff) |
ldns: multiple outputs
Diffstat (limited to 'pkgs/development/libraries/ldns')
-rw-r--r-- | pkgs/development/libraries/ldns/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/libraries/ldns/default.nix b/pkgs/development/libraries/ldns/default.nix index c279d698e129f..883625e551a75 100644 --- a/pkgs/development/libraries/ldns/default.nix +++ b/pkgs/development/libraries/ldns/default.nix @@ -8,6 +8,8 @@ stdenv.mkDerivation rec { sha256 = "1kf8pkwhcssvgzhh6ha1pjjiziwvwmfaali7kaafh6118mcy124b"; }; + outputs = [ "out" "dev" ]; + patches = [ ./perl-5.22-compat.patch ]; postPatch = '' @@ -19,6 +21,10 @@ stdenv.mkDerivation rec { configureFlags = [ "--with-ssl=${openssl.dev}" "--with-drill" ]; + postInstall = '' + moveToOutput "bin/ldns-config" "$dev" + ''; + meta = with stdenv.lib; { description = "Library with the aim of simplifying DNS programming in C"; license = licenses.bsd3; |