aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2022-05-08 02:00:00 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2022-05-08 02:00:00 +0200
commit20fbd870938e239c038d8524a56729f123f19f80 (patch)
treea42245385e33ff163730326d78319e848a2c7e68 /gnu
parentb4c9a3d23b06d9441e96938b45fbf6669685955d (diff)
downloadguix-20fbd870938e239c038d8524a56729f123f19f80.tar.gz
guix-20fbd870938e239c038d8524a56729f123f19f80.zip
gnu: recutils: Fix cross-compilation.
* gnu/packages/databases.scm (recutils) [arguments]: Point "--with-bash-headers" to the root bash "/include" directory.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/databases.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 91d2e28eb8..c70173b329 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -1572,8 +1572,9 @@ organized in a hash table or B+ tree.")
(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)