From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Baines Subject: [PATCH 2/4] gnu: gnome-tweak-tool: Include GI_TYPELIB_PATH Date: Fri, 30 Dec 2016 19:36:33 +0000 Message-ID: <20161230193635.13537-2-mail@cbaines.net> References: <871swqfw5q.fsf@gnu.org> <20161230193635.13537-1-mail@cbaines.net> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58595) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cN2yn-0001Hu-UP for guix-devel@gnu.org; Fri, 30 Dec 2016 14:36:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cN2yj-0003VH-2r for guix-devel@gnu.org; Fri, 30 Dec 2016 14:36:41 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:40701 helo=mira.cbaines.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cN2yi-0003V7-T8 for guix-devel@gnu.org; Fri, 30 Dec 2016 14:36:37 -0500 Received: from localhost (190.85.159.143.dyn.plus.net [143.159.85.190]) by mira.cbaines.net (Postfix) with ESMTPSA id 4850713E356 for ; Fri, 30 Dec 2016 19:36:36 +0000 (GMT) Received: from Unknown-08-d4-0c-03-9f-a8.lan (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 991fe184 for ; Fri, 30 Dec 2016 19:36:36 +0000 (UTC) In-Reply-To: <20161230193635.13537-1-mail@cbaines.net> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * 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