ldns: multiple outputs

This commit is contained in:
Thomas Tuegel
2016-11-15 07:20:11 -06:00
parent 1958f07c63
commit 12951219c6
@@ -8,6 +8,8 @@ stdenv.mkDerivation rec {
sha256 = "1kf8pkwhcssvgzhh6ha1pjjiziwvwmfaali7kaafh6118mcy124b"; sha256 = "1kf8pkwhcssvgzhh6ha1pjjiziwvwmfaali7kaafh6118mcy124b";
}; };
outputs = [ "out" "dev" ];
patches = [ ./perl-5.22-compat.patch ]; patches = [ ./perl-5.22-compat.patch ];
postPatch = '' postPatch = ''
@@ -19,6 +21,10 @@ stdenv.mkDerivation rec {
configureFlags = [ "--with-ssl=${openssl.dev}" "--with-drill" ]; configureFlags = [ "--with-ssl=${openssl.dev}" "--with-drill" ];
postInstall = ''
moveToOutput "bin/ldns-config" "$dev"
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Library with the aim of simplifying DNS programming in C"; description = "Library with the aim of simplifying DNS programming in C";
license = licenses.bsd3; license = licenses.bsd3;