xzgv: fix build with gcc15 (#477683)

This commit is contained in:
Aleksana
2026-01-07 10:31:25 +00:00
committed by GitHub
+4
View File
@@ -23,6 +23,10 @@ stdenv.mkDerivation rec {
gtk2
libexif
];
env.NIX_CFLAGS_COMPILE = toString [
# gcc15 build failure
"-std=gnu17"
];
postPatch = ''
substituteInPlace config.mk \
--replace /usr/local $out