civodul pushed a commit to branch master
in repository guix.
commit 44554d86dae9e595a9432b5a064f9aac63abf1fd
Author: Guillaume Le Vaillant <[email protected]>
Date: Wed Sep 4 16:58:55 2019 +0200
gnu: monero: Fix detection of readline library.
* gnu/packages/finance.scm (monero)[arguments]: Define 'Readline_ROOT_DIR'
in 'configure-flags'.
Signed-off-by: Ludovic Courtès <[email protected]>
---
gnu/packages/finance.scm | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 377cb3a..5824a14 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -490,9 +490,12 @@ other machines/servers. Electroncash does not download
the Bitcoin Cash blockch
("zeromq" ,zeromq)))
(arguments
`(#:out-of-source? #t
- #:configure-flags '("-DARCH=default"
- "-DBUILD_TESTS=ON"
- "-DBUILD_GUI_DEPS=ON")
+ #:configure-flags
+ (list "-DARCH=default"
+ "-DBUILD_TESTS=ON"
+ "-DBUILD_GUI_DEPS=ON"
+ (string-append "-DReadline_ROOT_DIR="
+ (assoc-ref %build-inputs "readline")))
#:phases
(modify-phases %standard-phases
;; tests/core_tests need a valid HOME