Skip to content

Commit a4f1808

Browse files
committed
bitcoin: add missing ZMQ and BDB cmake flags
With the build system changes in Bitcoin Core v29.0, the dependecies are now opt-in. See https://bitcoincore.org/en/releases/29.0/#build-system To support the same features as in v28.1, ZMQ and the BDB legacy wallet are enabled here.
1 parent 3548291 commit a4f1808

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkgs/applications/blockchains/bitcoin/default.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@ stdenv.mkDerivation (finalAttrs: {
9393
cmakeFlags =
9494
[
9595
(lib.cmakeBool "BUILD_BENCH" false)
96+
(lib.cmakeBool "WITH_ZMQ" true)
97+
# building with db48 (for legacy wallet support) is broken on Darwin
98+
(lib.cmakeBool "WITH_BDB" (withWallet && !stdenv.hostPlatform.isDarwin))
9699
]
97100
++ lib.optionals (!finalAttrs.doCheck) [
98101
(lib.cmakeBool "BUILD_TESTS" false)

0 commit comments

Comments
 (0)