hdf5: make build reproducible (#482704)

This commit is contained in:
Doron Behar
2026-02-09 11:02:07 +00:00
committed by GitHub
+9
View File
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
cmake,
removeReferencesTo,
cppSupport ? true,
@@ -46,6 +47,14 @@ stdenv.mkDerivation rec {
hash = "sha256-mJTax+VWAL3Amkq3Ij8fxazY2nfpMOTxYMUQlTvY/rg=";
};
patches = [
(fetchpatch {
name = "reproducible-build.patch";
url = "https://gitlab.archlinux.org/archlinux/packaging/packages/hdf5/-/raw/main/hdf5-make-reproducible.patch";
hash = "sha256-Z31dCsLjYpqjoGXooOXI81EPjPwyTK8890xCENTh8aM=";
})
];
passthru = {
inherit
cppSupport