wily: fix build with gcc15 (#512013)

This commit is contained in:
Yohann Boniface
2026-04-21 20:00:08 +00:00
committed by GitHub
+11 -1
View File
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchurl,
fetchDebianPatch,
libx11,
libxt,
}:
@@ -20,7 +21,16 @@ stdenv.mkDerivation (finalAttrs: {
libxt
];
patches = [ ./fix-gcc14-build.patch ];
patches = [
./fix-gcc14-build.patch
(fetchDebianPatch {
pname = "wily";
version = "0.13.42";
debianRevision = "4";
patch = "gcc-15.patch";
hash = "sha256-PZZvn2G/1a4Hk0CMVdDK09vyIN9yQ3X4ToCENwYujFA=";
})
];
preInstall = ''
mkdir -p $out/bin