aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--flake.nix4
-rw-r--r--nix/wlroots.nix4
2 files changed, 8 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index 6eb091fe..561de707 100644
--- a/flake.nix
+++ b/flake.nix
@@ -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: {