From c0a7dffcdc6cb04e5dd7dacf04681f9d2b361b97 Mon Sep 17 00:00:00 2001 From: Fernando Ayats Date: Thu, 1 Sep 2022 19:35:50 +0200 Subject: nix: move wlroots and add nvidia patches (#608) --- nix/default.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'nix/default.nix') 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; -- cgit v1.2.3