reredirect: fix build

ZHF #516381
Failing Hydra build: https://hydra.nixos.org/build/326899233#tabs-summary
This commit is contained in:
Maximilian Bosch
2026-05-16 14:31:33 +02:00
parent 3f5ef354e0
commit b2cfac8b23
+9
View File
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch2,
}:
stdenv.mkDerivation (finalAttrs: {
@@ -15,6 +16,14 @@ stdenv.mkDerivation (finalAttrs: {
sha256 = "sha256-RHRamDo7afnJ4DlOVAqM8lQAC60YESGSMKa8Io2vcX0=";
};
patches = [
# Fixes gcc-15 build.
(fetchpatch2 {
url = "https://github.com/jerome-pouiller/reredirect/commit/b85df395e18d09b54e1fb73dfe344f8f04224a83.patch";
hash = "sha256-RTzJrgiJGmUf0iVaSvXw/NLwWRTch1aLdDdLp50sAD8=";
})
];
makeFlags = [ "PREFIX=${placeholder "out"}" ];
postFixup = ''