1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-05 12:02:47 +00:00

Revert "unbound: fix build with nettle-3.5"

This reverts commit 96d65875f8.
The fix has been upstreamed a long time ago.
This commit is contained in:
Vladimír Čunát 2020-08-29 07:46:35 +02:00
parent b334b335f4
commit 848a3a4d4a
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -9,13 +9,6 @@ stdenv.mkDerivation rec {
sha256 = "1xqywn2qdmjjq0csrqxh9p2rnizdrr1f99zdx87z7f3fyyc0fbwz";
};
# https://github.com/NLnetLabs/unbound/pull/90
postPatch = ''
substituteInPlace validator/val_secalgo.c \
--replace '&nettle_secp_256r1' 'nettle_get_secp_256r1()' \
--replace '&nettle_secp_384r1' 'nettle_get_secp_384r1()'
'';
outputs = [ "out" "lib" "man" ]; # "dev" would only split ~20 kB
buildInputs = [ openssl nettle expat libevent ];