diff options
-rw-r--r-- | gnu/packages/databases.scm | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 42b394daf2..94c3c31fc4 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -1559,7 +1559,22 @@ organized in a hash table or B+ tree.") #~(list "--disable-static" (string-append "--with-bash-headers=" (search-input-directory %build-inputs - "include/bash"))))) + "include/bash"))) + #:phases + #~(modify-phases %standard-phases + (add-after 'install 'symlink-bash-loadables + (lambda* (#:key outputs #:allow-other-keys) + (with-directory-excursion (string-append + (assoc-ref outputs "out") + "/lib") + (mkdir "bash") + (for-each + (compose symlink + (lambda (loadable) + (values + (string-append (getcwd) "/" loadable ".so") + (string-append "bash/" loadable)))) + '("readrec" "testrec")))))))) (native-inputs (list bc check-0.14 pkg-config)) (inputs |