ploticus: fix build by using C17

This commit is contained in:
Christoph Jabs
2026-05-05 11:49:37 +03:00
parent ed43cecc68
commit ea585e4285
+5
View File
@@ -40,6 +40,11 @@ stdenv.mkDerivation (finalAttrs: {
./fix-zlib-file-type.patch
];
# GCC 15 uses C23, which fails with the following error
# plg.h:283:8: error: conflicting types for 'atof'; have 'double(void)'
# 283 | double atof(), sqrt(), log();
env.NIX_CFLAGS_COMPILE = "-std=gnu17";
buildInputs = [
zlib
libx11