gaw: fix build with gcc 15

This commit is contained in:
Harinn
2026-05-20 18:13:23 +07:00
parent b54b04e35b
commit c470399a62
+3
View File
@@ -78,6 +78,9 @@ stdenv.mkDerivation (finalAttrs: {
buildInputs = [ gtk3 ];
# K&R-style function declarations break under gcc 15's C23 default.
env.NIX_CFLAGS_COMPILE = "-std=gnu17";
meta = {
description = "Gtk Analog Wave viewer";
mainProgram = "gaw";