Skip to content

firefox/wrapper: inject gsettings schema paths into XDG_DATA_DIRS - #546288

Merged
booxter merged 1 commit into
NixOS:release-26.05from
booxter:ff-wrapper-gapps-strict-deps
Jul 28, 2026
Merged

booxter merged 1 commit into
NixOS:release-26.05from
booxter:ff-wrapper-gapps-strict-deps

Conversation

@booxter

@booxter booxter commented Jul 27, 2026 •

Copy link
Copy Markdown
Contributor

614574d ("firefox/wrapper: enable
strictDeps") was backported to release-26.05 to allow to backport a new
Thunderbird ESR release.

This broke injection of gsettings schema paths into XDG_DATA_DIRS for
both Thunderbird and Firefox (on Linux). This resulted in empty menus
with no text or icons in both apps when running with Wayland (X11 seems
to be not affected).

The issue is not present on master which has a fix to gapps wrapper
hook: a0ee897 ("wrapGAppsHook: prepare
for structuredAttrs") that fixes incorrect output being wrapped for
mozilla wrapped apps (among other things).

We can pursue a backport of the wrapGAppsHook fix in 26.05:
#546281

But since it will take some time for it to arrive to release-26.05, this
patch attempts to fix the immediate issue in the firefox wrapper
instead.

Fixes #546204


How I tested it: ran Thunderbird through a Wayland compositor on Linux. Menus and text are back. (I was able to reproduce the issue without the patch.)

Things done

@nixpkgs-commit-check nixpkgs-commit-check Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This report is automatically generated by the PR / Check / cherry-pick CI workflow.

Some of the commits in this PR require the author's and reviewer's attention.

If you need to merge this PR despite the warnings, please dismiss this review shortly before merging.

Important

bffe6b0 is not a cherry-pick, because: wrapGAppsHook is already fixed on master.. Please review this commit manually.

Hint: The full diffs are also available in the runner logs with slightly better highlighting.

@booxter booxter mentioned this pull request Jul 27, 2026
4 tasks done
614574d ("firefox/wrapper: enable
strictDeps") was backported to release-26.05 to allow to backport a new
Thunderbird ESR release.

This broke injection of gsettings schema paths into XDG_DATA_DIRS for
both Thunderbird and Firefox (on Linux). This resulted in empty menus
with no text or icons in both apps when running with Wayland (X11 seems
to be not affected).

The issue is not present on master which has a fix to gapps wrapper
hook: a0ee897 ("wrapGAppsHook: prepare
for structuredAttrs") that fixes incorrect output being wrapped for
mozilla wrapped apps (among other things).

We can pursue a backport of the wrapGAppsHook fix in 26.05:
NixOS#546281

But since it will take some time for it to arrive to release-26.05, this
patch attempts to fix the immediate issue in the firefox wrapper
instead.

Fixes NixOS#546204

Not-cherry-picked-because: wrapGAppsHook is already fixed on master.
@booxter
booxter force-pushed the ff-wrapper-gapps-strict-deps branch from dbc0be6 to bffe6b0 Compare July 27, 2026 12:39
@booxter
booxter marked this pull request as ready for review July 27, 2026 12:39
@booxter
booxter requested a review from mweinelt July 27, 2026 12:41
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 4.workflow: backport This targets a stable branch labels Jul 27, 2026
@booxter
booxter requested a review from vcunat July 27, 2026 12:56
@booxter

booxter commented Jul 28, 2026

Copy link
Copy Markdown
Contributor Author

This is breaking all Wayland Linux users of all Mozilla apps, so I won't wait for a review longer to merge it. Let me know if there's an issue with it (post-merge 😁) and we will deal with it. For Darwin, it's zero rebuilds so no impact at all. The only audience that could still be theoretically impacted are X11 users, but I also checked that it opens on my XQuartz (albeit w/o GL).

@booxter
booxter dismissed nixpkgs-commit-check[bot]’s stale review July 28, 2026 00:20

The patch is deliberately for release-26.05 only because master is not impacted.

@booxter
booxter added this pull request to the merge queue Jul 28, 2026
Merged via the queue into NixOS:release-26.05 with commit c5dca9b Jul 28, 2026
28 checks passed
@booxter
booxter deleted the ff-wrapper-gapps-strict-deps branch July 28, 2026 00:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4.workflow: backport This targets a stable branch 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant