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";
sha256 = "sha256-DjwlS8rXE7srs7A8+tHqXyUsFGtucYSeq6X0T/pVOc8=";
};
NIX_CFLAGS_COMPILE = toString [
"-Wno-error=sign-conversion"
];
});
};
hyprland = prev.callPackage ./nix/default.nix {

View File

@ -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: {