summary refs log tree commit diff
path: root/pkgs/applications/graphics/goxel/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/graphics/goxel/default.nix')
-rw-r--r--pkgs/applications/graphics/goxel/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/goxel/default.nix b/pkgs/applications/graphics/goxel/default.nix
index 325d1bcf083..8f70d9273b7 100644
--- a/pkgs/applications/graphics/goxel/default.nix
+++ b/pkgs/applications/graphics/goxel/default.nix
@@ -16,6 +16,12 @@ stdenv.mkDerivation rec {
 
   nativeBuildInputs = [ scons pkg-config wrapGAppsHook ];
   buildInputs = [ glfw3 gtk3 libpng12 ];
+
+  NIX_CFLAGS_COMPILE = [
+    # Needed with GCC 12
+    "-Wno-error=format-truncation"
+  ];
+
   NIX_LDFLAGS = "-lpthread";
 
   buildPhase = ''