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 <ludo@gnu.org>
This commit is contained in:
Guillaume Le Vaillant 2019-09-04 16:58:55 +02:00 committed by Ludovic Courtès
parent c0c0e9b836
commit 44554d86da
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -490,9 +490,12 @@ (define-public monero
("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