summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2023-02-28 22:31:58 +0100
committerRicardo Wurmus <rekado@elephly.net>2023-02-28 23:17:22 +0100
commitbf542dea072ef7c6fbc49f45ee27c99707bf5818 (patch)
treed67ff61f3269b330e9955c7a251e9d6c9e1e966b /gnu
parent7dd45f86dca5042f93e5dcf932ae589b2d34e3c2 (diff)
downloadguix-bf542dea072ef7c6fbc49f45ee27c99707bf5818.tar.gz
gnu: sugar: Augment GI_TYPELIB_PATH, don't replace it.
This is important so that the typelib files of libraries that may have been
propagated by Sugar activities are visible when launching the activities
via sugar-toolkit-gtk3's "sugar-activity3" tool.

Activities propagate their needed gobject introspection libraries; when
installed to the system profile these libraries are available to the Sugar
launchers.

* gnu/packages/sugar.scm (sugar)[arguments]: Do not replace GI_TYPELIB_PATH
but augment it.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/sugar.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/sugar.scm b/gnu/packages/sugar.scm
index 4f416eb84b..589da64458 100644
--- a/gnu/packages/sugar.scm
+++ b/gnu/packages/sugar.scm
@@ -122,7 +122,8 @@
                  (wrap-program executable
                    `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH")
                                           ,(python:site-packages inputs outputs)))
-                   `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))
+                   `("GI_TYPELIB_PATH" prefix
+                     (,(getenv "GI_TYPELIB_PATH")))))
                (find-files (string-append #$output "/bin") "^sugar.*")))))))
     (inputs
      (list bash-minimal