diff options
Diffstat (limited to 'pkgs/development/libraries/ldns/default.nix')
-rw-r--r-- | pkgs/development/libraries/ldns/default.nix | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/development/libraries/ldns/default.nix b/pkgs/development/libraries/ldns/default.nix index b4dbbf792efa..b1f81549ef0c 100644 --- a/pkgs/development/libraries/ldns/default.nix +++ b/pkgs/development/libraries/ldns/default.nix @@ -8,11 +8,14 @@ stdenv.mkDerivation rec { sha256 = "1kf8pkwhcssvgzhh6ha1pjjiziwvwmfaali7kaafh6118mcy124b"; }; - patchPhase = '' - sed -i 's,\$(srcdir)/doc/doxyparse.pl,perl $(srcdir)/doc/doxyparse.pl,' Makefile.in + patches = [ ./perl-5.22-compat.patch ]; + + postPatch = '' + patchShebangs doc/doxyparse.pl ''; - buildInputs = [ openssl perl ]; + nativeBuildInputs = [ perl ]; + buildInputs = [ openssl ]; configureFlags = [ "--with-ssl=${openssl}" "--with-drill" ]; |