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

It is required for cross-compilation.

* gnu/packages/tryton.scm (tryton): Remove trailing #t.
[inputs]: New field.

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

View file

@ -23,6 +23,7 @@
(define-module (gnu packages tryton)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (gnu packages)
#:use-module (gnu packages bash)
#:use-module (gnu packages check)
#:use-module (gnu packages databases)
#:use-module (gnu packages finance)
@ -123,11 +124,11 @@ (define-public tryton
(let ((out (assoc-ref outputs "out"))
(gi-typelib-path (getenv "GI_TYPELIB_PATH")))
(wrap-program (string-append out "/bin/tryton")
`("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
#t)))))
`("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))))))))
(native-inputs
`(("glib-compile-schemas" ,glib "bin")
("gobject-introspection" ,gobject-introspection)))
(list `(,glib "bin")
gobject-introspection))
(inputs (list bash-minimal)) ;for wrap-program
(propagated-inputs
(list (librsvg-for-system)
gsettings-desktop-schemas