xzgv: fix build with gcc15

This commit is contained in:
Kranium Mendoza
2026-01-07 20:46:45 +11:00
parent 9f0c42f8bc
commit 50e40fa1a4
+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