summary refs log tree commit diff
path: root/pkgs/development/tools/wlcs/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/wlcs/default.nix')
-rw-r--r--pkgs/development/tools/wlcs/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/tools/wlcs/default.nix b/pkgs/development/tools/wlcs/default.nix
index f2075f683b1..558a05730c6 100644
--- a/pkgs/development/tools/wlcs/default.nix
+++ b/pkgs/development/tools/wlcs/default.nix
@@ -47,6 +47,11 @@ stdenv.mkDerivation rec {
     wayland
   ];
 
+  NIX_CFLAGS_COMPILE = [
+    # Needed with GCC 12
+    "-Wno-error=maybe-uninitialized"
+  ];
+
   passthru.updateScript = gitUpdater {
     rev-prefix = "v";
   };