npiet: fix build with gcc 15

This commit is contained in:
Harinn
2026-05-06 14:08:01 +07:00
parent fbce940474
commit 3a7f2594fc
+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 =