Skip to content

gnomeExtensions: GIRepository fixes#461784

Merged
niklaskorz merged 7 commits into
NixOS:masterfrom
nekowinston:gnomeExtensions/girepository-prepend_search_path
Nov 16, 2025
Merged

gnomeExtensions: GIRepository fixes#461784
niklaskorz merged 7 commits into
NixOS:masterfrom
nekowinston:gnomeExtensions/girepository-prepend_search_path

Conversation

@nekowinston
Copy link
Copy Markdown
Member

@nekowinston nekowinston commented Nov 15, 2025

gnomeExtensions.system-monitor is separately fixed here: #461619
This applies the patch changes to the other extensions.

I tried all the extensions, drop-down-terminal is still broken, showing

SyntaxError: import declarations may only appear at top level of a module @ resource:///org/gnome/Shell/Extensions/js/misc/extensionUtils.js:4:1

Stack trace:
  @file:///etc/profiles/per-user/winston/share/gnome-shell/extensions/[email protected]/prefs.js:27:12
  _init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:263:34

Looks like it's been broken for a while now: https://github.com/zzrough/gs-extensions-drop-down-terminal/issues

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Add a 👍 reaction to pull requests you find important.

@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: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 6.topic: GNOME GNOME desktop environment and its underlying platform labels Nov 15, 2025
@nekowinston nekowinston marked this pull request as ready for review November 15, 2025 01:58
@nekowinston nekowinston force-pushed the gnomeExtensions/girepository-prepend_search_path branch from ad802ab to a55b085 Compare November 15, 2025 13:07
@nekowinston
Copy link
Copy Markdown
Member Author

dropped arcmenu as this is now covered here: #461911

Copy link
Copy Markdown
Member

@niklaskorz niklaskorz left a comment

Choose a reason for hiding this comment

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

Tested gsconnect, working correctly

@nixpkgs-ci nixpkgs-ci Bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Nov 15, 2025
Copy link
Copy Markdown
Contributor

@doronbehar doronbehar left a comment

Choose a reason for hiding this comment

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

Thanks for taking care of this! How did you figure out this is needed? The extensions didn't work without dup_default()?

@nekowinston
Copy link
Copy Markdown
Member Author

Thanks for taking care of this! How did you figure out this is needed? The extensions didn't work without dup_default()?

I ran into errors like this: Screenshot From 2025-11-14 19-48-34
and https://gjs-docs.gnome.org/girepository30~3.0/girepository.repository#function-dup_default mentions that it's new for 2.86

Regarding the explicit version, one extension gave me trouble without it being specified, but I haven't noted down which one, I'll see if its needed for the others. Sorry, pretty bad with multitasking a bunch of similar changes 😅

@niklaskorz
Copy link
Copy Markdown
Member

niklaskorz commented Nov 15, 2025

Thanks for taking care of this! How did you figure out this is needed? The extensions didn't work without dup_default()?

This was prompted by these upstream PRs:

@nekowinston nekowinston force-pushed the gnomeExtensions/girepository-prepend_search_path branch from a55b085 to 2b0adaf Compare November 15, 2025 17:34
@nekowinston nekowinston force-pushed the gnomeExtensions/girepository-prepend_search_path branch from 2b0adaf to 394da86 Compare November 15, 2025 17:36
@nekowinston
Copy link
Copy Markdown
Member Author

Rebuilt my system with this & #461619 merged, everything's still looking good on my end. Not sure what initially got me to explicitly add the version, didn't seem to be necessary.

@doronbehar
Copy link
Copy Markdown
Contributor

I made a few slight changes that it was too hard for me to explain them in words.

@doronbehar doronbehar force-pushed the gnomeExtensions/girepository-prepend_search_path branch from 394da86 to 7b76aa1 Compare November 15, 2025 18:26
@nixpkgs-ci nixpkgs-ci Bot removed the 12.approvals: 1 This PR was reviewed and approved by one person. label Nov 15, 2025
@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 2 This PR was reviewed and approved by two persons. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. labels Nov 15, 2025
@niklaskorz niklaskorz added this pull request to the merge queue Nov 16, 2025
Merged via the queue into NixOS:master with commit b26b855 Nov 16, 2025
30 of 33 checks passed
@nekowinston nekowinston deleted the gnomeExtensions/girepository-prepend_search_path branch November 16, 2025 14:11
@SamLukeYes
Copy link
Copy Markdown
Member

Todo.txt extension is still broken after applying this change
图片

@doronbehar
Copy link
Copy Markdown
Contributor

This PR hasn't touched todo.txt extension. From skimming over:

It seems like upstream should change this in their code.

@SamLukeYes
Copy link
Copy Markdown
Member

SamLukeYes commented Nov 20, 2025

Sorry, my bad. I forgot that I overrided gnomeExtensions.todotxt according to #350152. Just dropped the override and the extension works as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: GNOME GNOME desktop environment and its underlying platform 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 12.approvals: 2 This PR was reviewed and approved by two persons. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants