diff options
-rw-r--r-- | flake.nix | 4 | ||||
-rw-r--r-- | nix/wlroots.nix | 4 |
2 files changed, 8 insertions, 0 deletions
@@ -66,6 +66,10 @@ rev = "d98ae243280074b0ba44bff92215ae8d785658c0"; sha256 = "sha256-DjwlS8rXE7srs7A8+tHqXyUsFGtucYSeq6X0T/pVOc8="; }; + + NIX_CFLAGS_COMPILE = toString [ + "-Wno-error=sign-conversion" + ]; }); }; hyprland = prev.callPackage ./nix/default.nix { diff --git a/nix/wlroots.nix b/nix/wlroots.nix index ebc85a1b..7b05d9ff 100644 --- a/nix/wlroots.nix +++ b/nix/wlroots.nix @@ -59,6 +59,10 @@ assert (lib.assertMsg (hidpiXWayland -> enableXWayland) '' else "" ); buildInputs = old.buildInputs ++ [hwdata libliftoff libdisplay-info]; + + NIX_CFLAGS_COMPILE = toString [ + "-Wno-error=maybe-uninitialized" + ]; })) .override { xwayland = xwayland.overrideAttrs (old: { |