mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
unbound: backport fix for libunbound with nettle
Link: https://github.com/NixOS/nixpkgs/pull/252325#issuecomment-1731160655
Link: https://github.com/NLnetLabs/unbound/issues/942
Fixes: 44500c34d4
("unbound: 1.17.1 -> 1.18.0")
This commit is contained in:
parent
d42c83a61e
commit
8aa8cd68f4
@ -1,6 +1,7 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, fetchurl
|
||||
, fetchpatch
|
||||
, openssl
|
||||
, nettle
|
||||
, expat
|
||||
@ -55,6 +56,15 @@ stdenv.mkDerivation rec {
|
||||
hash = "sha256-PalUkKhc/2Qg8m+uC4Skn1ES3xvxt/w0+HJPAggstxI=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Backport: fix libunbound with nettle.
|
||||
(fetchpatch {
|
||||
url = "https://github.com/NLnetLabs/unbound/commit/654a7eab62cbd1844d483cc4a0f2cf2fbcbaf00a.patch";
|
||||
excludes = [ "doc/Changelog" ];
|
||||
hash = "sha256-n3FCeZESFrrn6Wcf28Hb8WZs1eMHWjbsf2WCFOXU3lI=";
|
||||
})
|
||||
];
|
||||
|
||||
outputs = [ "out" "lib" "man" ]; # "dev" would only split ~20 kB
|
||||
|
||||
nativeBuildInputs = [ makeWrapper pkg-config ]
|
||||
|
Loading…
Reference in New Issue
Block a user