gnu: guile-xyz: Add 'bash' input for 'wrap-program'.

It is required for cross-compilation.

* gnu/packages/guile-xyz.scm
(artanis)[inputs]: Add 'bash-minimal'.
(guile-hall)[inputs]: Likewise.
(python-on-guile)[inputs]: Likewise.
(haunt)[inputs]: Likewise.
(emacsy)[inputs]: Likewise.
(nomad)[inputs]: Likewise.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I496c2ac6d7e9a9266dc57cdbc9ada434968d9bac
This commit is contained in:
Maxime Devos 2021-07-02 12:06:36 +02:00 committed by Ludovic Courtès
parent 261c7692e4
commit 04edfcf7de
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -187,7 +187,7 @@
#t))))
(build-system gnu-build-system)
(inputs
(list guile-3.0 nspr nss))
(list bash-minimal guile-3.0 nspr nss))
;; FIXME the bundled csv contains one more exported procedure
;; (sxml->csv-string) than guile-csv. The author is maintainer of both
;; projects.
@ -3051,14 +3051,13 @@ inspired by the SCSH regular expression system.")
(string-append dep "/lib/guile/"
version
"/site-ccache"))
deps))))
#t)))))))))
deps)))))))))))))
(native-inputs
(list pkg-config texinfo))
(inputs
;; Depend on the latest Guile to avoid bytecode compatibility issues when
;; using modules built against the latest version.
(list guile-3.0-latest))
(list bash-minimal guile-3.0-latest))
(propagated-inputs
(list guile-reader guile-commonmark))
(synopsis "Functional static site generator")
@ -3459,8 +3458,7 @@ serializing continuations or delimited continuations.")
;; TODO: It would be better to patch the Makefile.
(setenv "GUILE_LOAD_PATH"
(string-append ".:"
(getenv "GUILE_LOAD_PATH")))
#t))
(getenv "GUILE_LOAD_PATH")))))
(add-after 'install 'wrap
(lambda* (#:key outputs #:allow-other-keys)
;; Wrap the 'python' executable so it can find its
@ -3485,10 +3483,9 @@ serializing continuations or delimited continuations.")
`("GUILE_LOAD_PATH" ":" prefix
(,load-path))
`("GUILE_LOAD_COMPILED_PATH" ":" prefix
(,compiled-path)))
#t))))))
(,compiled-path)))))))))
(inputs
(list guile-3.0 guile-persist guile-readline guile-stis-parser))
(list bash-minimal guile-3.0 guile-persist guile-readline guile-stis-parser))
(native-inputs
(list autoconf automake libtool pkg-config))
(synopsis "Python implementation in Guile")
@ -4120,7 +4117,8 @@ applied to surplus arguments.")
("texinfo" ,texinfo)
("texlive" ,(texlive-updmap.cfg (list texlive-epsf)))))
(inputs
(list dbus-glib
(list bash-minimal
dbus-glib
guile-3.0
guile-lib
guile-readline
@ -4330,7 +4328,8 @@ processing filters.")
("gettext" ,gettext-minimal)
("perl" ,perl)))
(inputs
`(;; Guile
`(("bash" ,bash-minimal) ; for wrap-program
;; Guile
("guile" ,guile-2.2)
("guile-lib" ,guile2.2-lib)
("guile-readline" ,guile2.2-readline)