gnu: monero-gui: Fix build.
* gnu/packages/finance.scm (monero-gui)[arguments]: Fix 'configure-flags' using gexp. Fix 'extract-monero-sources' phase.
This commit is contained in:
parent
263f5b30d2
commit
721bf4c001
1 changed files with 6 additions and 7 deletions
|
@ -55,6 +55,7 @@
|
||||||
#:use-module (guix build-system go)
|
#:use-module (guix build-system go)
|
||||||
#:use-module (guix build-system qt)
|
#:use-module (guix build-system qt)
|
||||||
#:use-module (guix deprecation)
|
#:use-module (guix deprecation)
|
||||||
|
#:use-module (guix gexp)
|
||||||
#:use-module (guix utils)
|
#:use-module (guix utils)
|
||||||
#:use-module (gnu packages)
|
#:use-module (gnu packages)
|
||||||
#:use-module (gnu packages aidc)
|
#:use-module (gnu packages aidc)
|
||||||
|
@ -790,10 +791,9 @@ the Monero command line client and daemon.")
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; No tests
|
`(#:tests? #f ; No tests
|
||||||
#:configure-flags
|
#:configure-flags
|
||||||
(list "-DARCH=default"
|
,#~(list "-DARCH=default"
|
||||||
"-DENABLE_PASS_STRENGTH_METER=ON"
|
"-DENABLE_PASS_STRENGTH_METER=ON"
|
||||||
(string-append "-DReadline_ROOT_DIR="
|
(string-append "-DReadline_ROOT_DIR=" #$readline))
|
||||||
(assoc-ref %build-inputs "readline")))
|
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'extract-monero-sources
|
(add-after 'unpack 'extract-monero-sources
|
||||||
|
@ -801,9 +801,8 @@ the Monero command line client and daemon.")
|
||||||
;; to build the GUI.
|
;; to build the GUI.
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(mkdir-p "monero")
|
(mkdir-p "monero")
|
||||||
(invoke "tar" "-xv" "--strip-components=1"
|
(copy-recursively (assoc-ref inputs "monero-source")
|
||||||
"-C" "monero"
|
"monero")))
|
||||||
"-f" (assoc-ref inputs "monero-source"))))
|
|
||||||
(add-after 'extract-monero-sources 'fix-build
|
(add-after 'extract-monero-sources 'fix-build
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "src/version.js.in"
|
(substitute* "src/version.js.in"
|
||||||
|
|
Reference in a new issue