From 0fc08ce2bd8b59a12e6f100e8ff2d145d607e879 Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Sat, 22 Nov 2025 08:14:30 +0000 Subject: [PATCH] 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 --- gnu/packages/finance.scm | 12 ++++-------- 1 file 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