diff options
author | Mihai Fufezan <[email protected]> | 2023-03-09 01:10:01 +0200 |
---|---|---|
committer | Mihai Fufezan <[email protected]> | 2023-03-10 11:45:39 +0200 |
commit | 0ad2d9f0b5b27b9c5dd71989acb3ce519c33e47d (patch) | |
tree | 6727ef91b4f15e0e3f8982ff2ab34c5974929a53 | |
parent | c9167d96467f0c1546f337828e874d7dd849f900 (diff) | |
download | Hyprland-0ad2d9f0b5b27b9c5dd71989acb3ce519c33e47d.tar.gz Hyprland-0ad2d9f0b5b27b9c5dd71989acb3ce519c33e47d.zip |
Nix: fix build on aarch64
-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: { |