Hyprland/nix/wlroots.nix

21 lines
359 B
Nix
Raw Normal View History

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