diff options
| author | Fernando Ayats <ayatsfer@gmail.com> | 2022-09-01 19:35:50 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-01 20:35:50 +0300 |
| commit | c0a7dffcdc6cb04e5dd7dacf04681f9d2b361b97 (patch) | |
| tree | 9aa8fb0df9d75c188afaa26ddd9cb4163ac7dc0e /nix/default.nix | |
| parent | 8581e7178961ebe3a6c25f49583d13f9ee6ee22a (diff) | |
nix: move wlroots and add nvidia patches (#608)
Diffstat (limited to 'nix/default.nix')
| -rw-r--r-- | nix/default.nix | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/nix/default.nix b/nix/default.nix index f840da1a..27aaf6bc 100644 --- a/nix/default.nix +++ b/nix/default.nix @@ -24,6 +24,7 @@ enableXWayland ? true, hidpiXWayland ? true, legacyRenderer ? false, + nvidiaPatches ? false, version ? "git", }: let assertXWayland = lib.assertMsg (hidpiXWayland -> enableXWayland) '' @@ -68,11 +69,7 @@ in wayland wayland-protocols wayland-scanner - ( - if hidpiXWayland - then (import ./hidpi_wlroots.nix {inherit wlroots xwayland fetchpatch;}) - else wlroots.override {inherit enableXWayland;} - ) + (wlroots.override {inherit enableXWayland hidpiXWayland nvidiaPatches;}) xcbutilwm ] ++ lib.optional enableXWayland xwayland; |
