Skip to content

Commit

Permalink
unbound: backport fix for libunbound with nettle
Browse files Browse the repository at this point in the history
Link: NixOS#252325 (comment)
Link: NLnetLabs/unbound#942
Fixes: 44500c3 ("unbound: 1.17.1 -> 1.18.0")
  • Loading branch information
alyssais committed Sep 22, 2023
1 parent 59cffc6 commit cf51455
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pkgs/tools/networking/unbound/default.nix
@@ -1,6 +1,7 @@
{ stdenv
, lib
, fetchurl
, fetchpatch
, openssl
, nettle
, expat
Expand Down Expand Up @@ -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 ]
Expand Down

0 comments on commit cf51455

Please sign in to comment.