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