From 79e88be5b7cec7d5bd21d39c1836939134de8b32 Mon Sep 17 00:00:00 2001 From: Mikael Voss Date: Fri, 30 Aug 2024 20:37:40 +0200 Subject: [PATCH] thunderbird: 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 a2e9d6d..2ed1732 100644 --- a/overlay/no-x.nix +++ b/overlay/no-x.nix @@ -160,6 +160,15 @@ in genAttrs [ imlib2 = final.imlib2; }; + thunderbird-unwrapped = prev.thunderbird-unwrapped.overrideAttrs (prevAttrs: { + configureFlags = prevAttrs.configureFlags or [ ] + |> substituteFlags { + "--enable-default-toolkit=.*" = "--enable-default-toolkit=cairo-gtk3-wayland-only"; + }; + }); + + thunderbird = final.wrapThunderbird final.thunderbird-unwrapped { }; + utsushi = prev.utsushi.overrideAttrs (prevAttrs: { buildInputs = prevAttrs.buildInputs or [ ] |> packages.remove [ "gtkmm" ];