guix_mirror_bot pushed a commit to branch gnome-team
in repository guix.
commit ff2b7dc1fb5ef3284ebf5d0dfcb78ece0781bc35
Author: Liliana Marie Prikler <[email protected]>
AuthorDate: Sun Jun 21 09:48:42 2026 +0200
gnu: gnome-shell: Adjust wrapper for GI 2.0.
* gnu/packages/gnome.scm (gnome)[#:phases]<wrap-programs>: Use
GIRepository.dup_default() to get Repository “singleton”.
Signed-off-by: Noé Lopez <[email protected]>
---
gnu/packages/gnome.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index d9c119f1ac..fa08900f0f 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -9719,7 +9719,7 @@ properties, screen resolution, and other GNOME
parameters.")
(("^import " all)
(string-append "'" gi-typelib-path "'.split(':').forEach("
"path =>
imports.gi.GIRepository.Repository."
- "prepend_search_path(path));\n"
+
"dup_default().prepend_search_path(path));\n"
all)))
;; Screencast requires a pipewire service running
;; (i.e. as provided by home-pipewire-service-type)
@@ -9728,7 +9728,7 @@ properties, screen resolution, and other GNOME
parameters.")
(("^import " all)
(string-append "'" gi-typelib-path "'.split(':').forEach("
"path =>
imports.gi.GIRepository.Repository."
- "prepend_search_path(path));\n"
+
"dup_default().prepend_search_path(path));\n"
"imports.gi.GLib.setenv('GST_PLUGIN_SYSTEM_PATH',"
"[imports.gi.GLib.getenv('GST_PLUGIN_SYSTEM_PATH'),"
"'" gst-plugin-path "'].filter(v =>
v).join(':'),"