From bf542dea072ef7c6fbc49f45ee27c99707bf5818 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 28 Feb 2023 22:31:58 +0100 Subject: [PATCH] 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. --- gnu/packages/sugar.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 @@ (define-public sugar (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