summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2023-02-28 21:53:11 +0100
committerRicardo Wurmus <rekado@elephly.net>2023-02-28 23:17:22 +0100
commit7dd45f86dca5042f93e5dcf932ae589b2d34e3c2 (patch)
tree93eaaa910e7c6efa1e4db240bea69b76fccea68d /gnu
parent307d1b626be86ed21d48d44a131ce8490f370a17 (diff)
downloadguix-7dd45f86dca5042f93e5dcf932ae589b2d34e3c2.tar.gz
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.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/sugar.scm5
1 files 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