summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraurtzy <aurtzy@gmail.com>2025-02-17 16:15:41 -0500
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2025-03-05 14:23:42 +0900
commitc695de0d04f16c2f21d2386823b3c2a3ad2f7517 (patch)
tree10414eaf07f4d6748b3ae80275f8f53c0bc690ac
parentb5a482588a214820f8f04e0473645807553d5443 (diff)
gnu: gnome-shell: Fix substitutions for imports.
* gnu/packages/gnome.scm (gnome-shell)[arguments]<#:phases>: Update regexps for substitutions in 'wrap-programs phase so search paths can be included again. Change-Id: Ie3582edbcb1e5712787c9292c449b161c7c9d869 Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
-rw-r--r--gnu/packages/gnome.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 9d72960547..3db0ab36b5 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -9599,7 +9599,7 @@ properties, screen resolution, and other GNOME parameters.")
'("gnome-shell" "gnome-extensions" "gnome-extensions-app"))
(substitute* (string-append #$output "/share/gnome-shell/"
"org.gnome.Shell.Extensions")
- (("imports\\.package\\.start" all)
+ (("^import " all)
(string-append "'" gi-typelib-path "'.split(':').forEach("
"path => imports.gi.GIRepository.Repository."
"prepend_search_path(path));\n"
@@ -9608,7 +9608,7 @@ properties, screen resolution, and other GNOME parameters.")
;; (i.e. as provided by home-pipewire-service-type)
(substitute* (string-append #$output "/share/gnome-shell/"
"org.gnome.Shell.Screencast")
- (("imports\\.package\\.start" all)
+ (("^import " all)
(string-append "'" gi-typelib-path "'.split(':').forEach("
"path => imports.gi.GIRepository.Repository."
"prepend_search_path(path));\n"