npiet: fix build with gcc 15 (#517167)

This commit is contained in:
yaya
2026-05-07 18:47:59 +00:00
committed by GitHub
+3
View File
@@ -37,6 +37,9 @@ stdenv.mkDerivation (finalAttrs: {
--replace-fail 'exec wish' 'exec ${tk}/bin/wish'
'';
# K&R-style decls clash with GCC 15's default of -std=gnu23.
env.NIX_CFLAGS_COMPILE = "-std=gnu17";
strictDeps = true;
passthru.tests =