firefox: Build with Wayland support only

This commit is contained in:
Mikael 2024-08-30 20:26:13 +02:00
parent 4604e7974a
commit 8d5a3390f4
Signed by: mikael
SSH key fingerprint: SHA256:21QyD2Meiot7jOUVitIR5YkGB/XuXdCvLW1hE6dsri0

View file

@ -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;
};