diff options
| author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2025-11-22 08:14:30 +0000 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2025-11-30 20:59:49 +0100 |
| commit | 0fc08ce2bd8b59a12e6f100e8ff2d145d607e879 (patch) | |
| tree | b789b1763d7aebdb0c79637797d6190dea31c22c /gnu/packages | |
| parent | d94438acbdc1fc671894b0d4bb9e73be6b2965f2 (diff) | |
gnu: bitcoin-core: Improve package.
* gnu/packages/finance.scm (bitcoin-core)[arguments]
<#:configure-flags>: Remove -DENABLE_IPC=OFF.
<#:phases>: Remove the 'set-home phase. Add --timeout-factor=2 in the
'check-functional phase.
[inputs]: Add capnproto.
Change-Id: Iaab3f5d5da7e189ad8fd6c43fb236ec5d4a63444
Signed-off-by: Andreas Enge <andreas@enge.fr>
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/finance.scm | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index aa765d454be..928963fce4c 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -139,6 +139,7 @@ #:use-module (gnu packages qt) #:use-module (gnu packages readline) #:use-module (gnu packages security-token) + #:use-module (gnu packages serialization) #:use-module (gnu packages sphinx) #:use-module (gnu packages sqlite) #:use-module (gnu packages tex) @@ -171,9 +172,7 @@ #~(list "-DBUILD_GUI=ON" "-DBUILD_BENCH=ON" - "-DWITH_ZMQ=ON" - ;; TODO: Enable IPC once capnproto is built with -fPIC. - "-DENABLE_IPC=OFF") + "-DWITH_ZMQ=ON") #:phases #~(modify-phases %standard-phases (add-before 'build 'set-no-git-flag @@ -182,14 +181,10 @@ ;; (and thus no information regarding this build is available ;; from git). (setenv "BITCOIN_GENBUILD_NO_GIT" "1"))) - (add-before 'check 'set-home - (lambda _ - ;; Tests write to $HOME. - (setenv "HOME" (getenv "TMPDIR")))) (add-after 'check 'check-functional (lambda _ (invoke - "python3" "./test/functional/test_runner.py" + "python3" "./test/functional/test_runner.py" "--timeout-factor=2" (string-append "--jobs=" (number->string (parallel-job-count))))))))) (native-inputs (list bash ; provides the sh command for system_tests @@ -200,6 +195,7 @@ qttools)) (inputs (list boost + capnproto libevent qrencode qtbase |
