From 8d5a3390f4c4fc15ba7741ecfdd1c405f0ede038 Mon Sep 17 00:00:00 2001 From: Mikael Voss Date: Fri, 30 Aug 2024 20:26:13 +0200 Subject: [PATCH] firefox: Build with Wayland support only --- overlay/no-x.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/overlay/no-x.nix b/overlay/no-x.nix index 1e070ba..a2e9d6d 100644 --- a/overlay/no-x.nix +++ b/overlay/no-x.nix @@ -43,6 +43,15 @@ in genAttrs [ beam = prev.beam_nox; graphviz = prev.graphviz-nox; + firefox-unwrapped = prev.firefox-unwrapped.overrideAttrs (prevAttrs: { + configureFlags = prevAttrs.configureFlags or [ ] + |> substituteFlags { + "--enable-default-toolkit=.*" = "--enable-default-toolkit=cairo-gtk3-wayland-only"; + }; + }); + + firefox = final.wrapFirefox final.firefox-unwrapped { }; + gammastep = prev.gammastep.override { withRandr = false; };