From: Christopher Baines <mail@cbaines.net>
To: guix-devel@gnu.org
Subject: [PATCH 2/4] gnu: gnome-tweak-tool: Include GI_TYPELIB_PATH
Date: Fri, 30 Dec 2016 19:36:33 +0000 [thread overview]
Message-ID: <20161230193635.13537-2-mail@cbaines.net> (raw)
In-Reply-To: <20161230193635.13537-1-mail@cbaines.net>
* gnu/packages/gnome.scm (gnome-tweak-tool): Add another wrap phase to
include GI_TYPELIB_PATH.
---
gnu/packages/gnome.scm | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 5f13cdd0e..12a30d12d 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -5295,6 +5295,14 @@ 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
--
2.11.0
next prev parent reply other threads:[~2016-12-30 19:36 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-27 22:33 [PATCH] gnu: gnome-tweak-tool: Use glib-or-gtk-build-system Christopher Baines
2016-12-29 18:05 ` Ludovic Courtès
2016-12-30 19:35 ` Christopher Baines
2016-12-30 19:36 ` [PATCH 1/4] " Christopher Baines
2016-12-30 19:36 ` Christopher Baines [this message]
2016-12-30 19:36 ` [PATCH 3/4] gnu: gnome-tweak-tool: Make propagated-inputs just inputs Christopher Baines
2016-12-30 19:36 ` [PATCH 4/4] gnu: gnome-tweak-tool: Add missing inputs Christopher Baines
2017-01-06 9:24 ` [PATCH 1/4] gnu: gnome-tweak-tool: Use glib-or-gtk-build-system Ludovic Courtès
2016-12-30 23:45 ` [PATCH] " Chris Marusich
2017-01-09 9:15 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161230193635.13537-2-mail@cbaines.net \
--to=mail@cbaines.net \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).