gnu: gramps: Add 'bash' input for 'wrap-program'.

It is required for cross-compilation.

* gnu/packages/genealogy.scm
(gramps)[inputs]: Add 'bash-minimal'.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I96613a43578f77fbd6e8eff95fe98f04e88b0dba
This commit is contained in:
Maxime Devos 2021-07-02 12:07:45 +02:00 committed by Ludovic Courtès
parent e93a4c5c19
commit 4b2bf5ac25
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -22,6 +22,7 @@ (define-module (gnu packages genealogy)
#:use-module (guix git-download)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (gnu packages bash)
#:use-module (gnu packages fonts)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages geo)
@ -54,7 +55,8 @@ (define-public gramps
`(("gettext" ,gettext-minimal)
("intltool" ,intltool)))
(inputs
(list cairo
(list bash-minimal
cairo
font-gnu-freefont
geocode-glib
gexiv2
@ -100,8 +102,7 @@ (define-public gramps
#f))))
inputs)))
(wrap-program (string-append out "/bin/gramps")
`("GI_TYPELIB_PATH" ":" prefix ,(filter identity paths))))
#t))
`("GI_TYPELIB_PATH" ":" prefix ,(filter identity paths))))))
(add-after 'wrap 'glib-or-gtk-wrap
(assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
(home-page "https://gramps-project.org")