gnu: recutils: Fix cross-compilation.

* gnu/packages/databases.scm (recutils)
[arguments]: Point "--with-bash-headers" to the root bash
"/include" directory.
This commit is contained in:
Tobias Geerinckx-Rice 2022-05-08 02:00:00 +02:00
parent b4c9a3d23b
commit 20fbd87093
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -1572,8 +1572,9 @@ (define-public recutils
(list #:configure-flags
'(list "--disable-static"
(string-append "--with-bash-headers="
(search-input-directory %build-inputs
"include/bash")))))
(dirname (search-input-directory
%build-inputs
"include/bash"))))))
(native-inputs
;; XXX Without labels, the default 'configure phase picks the wrong "bash".
`(("bc" ,bc)