[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/04: gnu: gnome-tweak-tool: Wrap program to set 'GI_TYPELIB_PATH'.
From: |
Ludovic Courtès |
Subject: |
02/04: gnu: gnome-tweak-tool: Wrap program to set 'GI_TYPELIB_PATH'. |
Date: |
Fri, 6 Jan 2017 09:24:08 +0000 (UTC) |
civodul pushed a commit to branch master
in repository guix.
commit 9af6bce1e1557da6ea6ae938a2c26deb152464a9
Author: Christopher Baines <address@hidden>
Date: Fri Dec 30 19:36:33 2016 +0000
gnu: gnome-tweak-tool: Wrap program to set 'GI_TYPELIB_PATH'.
* gnu/packages/gnome.scm (gnome-tweak-tool)[arguments]: Add
'wrap-program' phase.
Signed-off-by: Ludovic Courtès <address@hidden>
---
gnu/packages/gnome.scm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index a0238f9..04e2b2f 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -5295,6 +5295,13 @@ existing databases over the internet.")
#:imported-modules ((guix build python-build-system)
,@%glib-or-gtk-build-system-modules)
#:phases (modify-phases %standard-phases
+ (add-after 'install 'wrap-program
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out"))
+ (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
+ (wrap-program (string-append out
"/bin/gnome-tweak-tool")
+ `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
+ #t))
(add-after 'install 'wrap
(@@ (guix build python-build-system) wrap)))))
(native-inputs