mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-02 19:05:58 +01:00
Nix: fix build on aarch64
This commit is contained in:
parent
c9167d9646
commit
0ad2d9f0b5
2 changed files with 8 additions and 0 deletions
|
@ -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 {
|
||||||
|
|
|
@ -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: {
|
||||||
|
|
Loading…
Reference in a new issue