guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/04: gnu: sugar: Augment GI_TYPELIB_PATH, don't replace it.


From: guix-commits
Subject: 02/04: gnu: sugar: Augment 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 bf542dea072ef7c6fbc49f45ee27c99707bf5818
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Feb 28 22:31:58 2023 +0100

    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 @@
                  (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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]