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

It is required for cross-compilation.

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

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

View file

@ -23,6 +23,7 @@ (define-module (gnu packages kawa)
#:use-module (guix download)
#:use-module (guix build-system gnu)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (gnu packages bash)
#:use-module (gnu packages java))
(define-public kawa
@ -45,10 +46,9 @@ (define-public kawa
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(wrap-program (string-append out "/share/kawa/bin/kawa")
`("JAVA_HOME" ":" = (,(assoc-ref inputs "icedtea"))))
#t))))))
`("JAVA_HOME" ":" = (,(assoc-ref inputs "icedtea"))))))))))
(inputs
(list `(,icedtea-8 "jdk")))
(list bash-minimal `(,icedtea-8 "jdk")))
(home-page "https://www.gnu.org/software/kawa/")
(synopsis "Java framework and implementation of Scheme, Elisp, and more")
(description