Nix: fix build on aarch64

This commit is contained in:
Mihai Fufezan 2023-03-09 01:10:01 +02:00 committed by Mihai Fufezan
parent c9167d9646
commit 0ad2d9f0b5
2 changed files with 8 additions and 0 deletions

View file

@ -66,6 +66,10 @@
rev = "d98ae243280074b0ba44bff92215ae8d785658c0"; rev = "d98ae243280074b0ba44bff92215ae8d785658c0";
sha256 = "sha256-DjwlS8rXE7srs7A8+tHqXyUsFGtucYSeq6X0T/pVOc8="; sha256 = "sha256-DjwlS8rXE7srs7A8+tHqXyUsFGtucYSeq6X0T/pVOc8=";
}; };
NIX_CFLAGS_COMPILE = toString [
"-Wno-error=sign-conversion"
];
}); });
}; };
hyprland = prev.callPackage ./nix/default.nix { hyprland = prev.callPackage ./nix/default.nix {

View file

@ -59,6 +59,10 @@ assert (lib.assertMsg (hidpiXWayland -> enableXWayland) ''
else "" else ""
); );
buildInputs = old.buildInputs ++ [hwdata libliftoff libdisplay-info]; buildInputs = old.buildInputs ++ [hwdata libliftoff libdisplay-info];
NIX_CFLAGS_COMPILE = toString [
"-Wno-error=maybe-uninitialized"
];
})) }))
.override { .override {
xwayland = xwayland.overrideAttrs (old: { xwayland = xwayland.overrideAttrs (old: {