nn: fix build with gcc15 (#492802)

This commit is contained in:
Yohann Boniface
2026-02-22 22:56:59 +00:00
committed by GitHub
+5
View File
@@ -17,6 +17,11 @@ stdenv.mkDerivation (finalAttrs: {
sourceRoot = "${finalAttrs.src.name}/nn";
# fixes:
# triangle.c: In function 'triangulate':
# triangle.c:15619:1: error: number of arguments doesn't match prototype
env.NIX_CFLAGS_COMPILE = "-std=gnu17";
passthru.updateScript = unstableGitUpdater { };
meta = {