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 <ludo@gnu.org>
This commit is contained in:
parent
7ef335b0e8
commit
9af6bce1e1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue