build: remove nv patches (#3957)
This commit is contained in:
parent
ad3f688648
commit
cd96ceecc5
8 changed files with 22 additions and 72 deletions
|
|
@ -1,5 +1,4 @@
|
|||
{
|
||||
lib,
|
||||
version,
|
||||
src,
|
||||
wlroots,
|
||||
|
|
@ -7,18 +6,11 @@
|
|||
libdisplay-info,
|
||||
libliftoff,
|
||||
enableXWayland ? true,
|
||||
enableNvidiaPatches ? false,
|
||||
}:
|
||||
wlroots.overrideAttrs (old: {
|
||||
inherit version src enableXWayland;
|
||||
|
||||
pname = "${old.pname}-hyprland${lib.optionalString enableNvidiaPatches "-nvidia"}";
|
||||
|
||||
patches =
|
||||
(old.patches or [])
|
||||
++ (lib.optionals enableNvidiaPatches [
|
||||
./patches/wlroots-nvidia.patch
|
||||
]);
|
||||
pname = "${old.pname}-hyprland";
|
||||
|
||||
buildInputs = old.buildInputs ++ [hwdata libliftoff libdisplay-info];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue