Hyprland/nix/wlroots.nix

21 lines
359 B
Nix
Raw Normal View History

{
version,
src,
wlroots,
2022-11-13 21:32:15 +02:00
hwdata,
2023-03-04 00:37:00 +02:00
libdisplay-info,
libliftoff,
enableXWayland ? true,
}:
wlroots.overrideAttrs (old: {
inherit version src enableXWayland;
2023-11-26 02:58:57 +00:00
pname = "${old.pname}-hyprland";
buildInputs = old.buildInputs ++ [hwdata libliftoff libdisplay-info];
2023-03-09 01:10:01 +02:00
NIX_CFLAGS_COMPILE = toString [
"-Wno-error=maybe-uninitialized"
];
})