3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: electron-cash: Return #t from phases.

* gnu/packages/finance.scm (electron-cash)[arguments]: Return truth from
all phases.
This commit is contained in:
Tobias Geerinckx-Rice 2020-08-24 03:19:00 +02:00
parent 8ee3e4d9e9
commit 110888f85f
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -509,7 +509,7 @@ other machines/servers. Electrum does not download the Bitcoin blockchain.")
("qtsvg" ,qtsvg)
("zlib" ,zlib)))
(arguments
`(#:tests? #f ; No tests
`(#:tests? #f ; no tests
#:modules ((guix build python-build-system)
(guix build qt-utils)
(guix build utils))
@ -521,12 +521,14 @@ other machines/servers. Electrum does not download the Bitcoin blockchain.")
(lambda* (#:key outputs #:allow-other-keys)
(substitute* "setup.py"
(("~/.local/share")
(string-append (assoc-ref outputs "out") "/local/share")))))
(string-append (assoc-ref outputs "out") "/local/share")))
#t))
(add-after 'unpack 'use-libsecp256k1-input
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "lib/secp256k1.py"
(("library_paths = .* 'libsecp256k1.so.0'.")
(string-append "library_paths = ('" (assoc-ref inputs "libsecp256k1") "/lib/libsecp256k1.so.0'")))))
(string-append "library_paths = ('" (assoc-ref inputs "libsecp256k1") "/lib/libsecp256k1.so.0'")))
#t))
(add-after 'install 'wrap-qt
(lambda* (#:key outputs #:allow-other-keys)
(wrap-qt-program (assoc-ref outputs "out") "electron-cash")