[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/04: gnu: sugar-toolkit-gtk3: Extend GI_TYPELIB_PATH, don't replace it
From: |
guix-commits |
Subject: |
01/04: gnu: sugar-toolkit-gtk3: Extend GI_TYPELIB_PATH, don't replace it. |
Date: |
Tue, 28 Feb 2023 17:18:00 -0500 (EST) |
rekado pushed a commit to branch master
in repository guix.
commit 7dd45f86dca5042f93e5dcf932ae589b2d34e3c2
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Feb 28 21:53:11 2023 +0100
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