Skip to content

Commit

Permalink
unbound: backport reproducibility fix for man pages
Browse files Browse the repository at this point in the history
Signed-off-by: Sefa Eyeoglu <[email protected]>
  • Loading branch information
Scrumplex committed Feb 10, 2025
1 parent 660f007 commit ac4f83a
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions pkgs/by-name/un/unbound/package.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ stdenv
, lib
, fetchFromGitHub
, fetchpatch2
, openssl
, nettle
, expat
Expand Down Expand Up @@ -62,6 +63,20 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-CFsd8tdFL+JbxmDZoWdStvWcs9azSaLtMG8Ih5oXE/A=";
};

patches = [
# https://github.com/NLnetLabs/unbound/pull/1238
(fetchpatch2 {
name = "unbound-add-ax_build_date_epoch.patch";
url = "https://github.com/NLnetLabs/unbound/commit/07f2eaaac200e4b4e784a2f03b7e750b92a9abe9.diff";
hash = "sha256-UCTGnDG1z9TuiLm6Yr/NL5AKnyCCkL1V38HcoixyTuQ=";
})
(fetchpatch2 {
name = "unbound-prefer-SOURCE_DATE_EPOCH.patch";
url = "https://github.com/NLnetLabs/unbound/commit/1528a96f74e233d1e64be39097b0491e481f7d1d.diff";
hash = "sha256-JVjphkOefZouqUwx/pJP9XNrb5gNJVmP2fWAdkYdvuU=";
})
];

outputs = [ "out" "lib" "man" ]; # "dev" would only split ~20 kB

nativeBuildInputs =
Expand Down

0 comments on commit ac4f83a

Please sign in to comment.