From 7dd45f86dca5042f93e5dcf932ae589b2d34e3c2 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 28 Feb 2023 21:53:11 +0100 Subject: gnu: sugar-toolkit-gtk3: Extend GI_TYPELIB_PATH, don't replace it. This is convenient in case typelib files are needed by activities at runtime that are not available at build time. * gnu/packages/sugar.scm (sugar-toolkit-gtk3)[arguments]: Extend GI_TYPELIB_PATH when wrapping. --- gnu/packages/sugar.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gnu/packages/sugar.scm b/gnu/packages/sugar.scm index 628275d0c7..4f416eb84b 100644 --- a/gnu/packages/sugar.scm +++ b/gnu/packages/sugar.scm @@ -308,8 +308,9 @@ and metadata, and the journal with querying and full text search.") (wrap-program (search-input-file outputs "bin/sugar-activity3") `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,(python:site-packages inputs outputs))) - `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH") - ,(string-append #$output "/lib/girepository-1.0"))))))))) + `("GI_TYPELIB_PATH" prefix + (,(getenv "GI_TYPELIB_PATH") + ,(string-append #$output "/lib/girepository-1.0"))))))))) (inputs (list alsa-lib bash-minimal -- cgit 1.4.1