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.
This commit is contained in:
0xb10c
2025-04-15 18:14:26 +02:00
parent 35482917cb
commit a4f18085a1
@@ -93,6 +93,9 @@ stdenv.mkDerivation (finalAttrs: {
cmakeFlags =
[
(lib.cmakeBool "BUILD_BENCH" false)
(lib.cmakeBool "WITH_ZMQ" true)
# building with db48 (for legacy wallet support) is broken on Darwin
(lib.cmakeBool "WITH_BDB" (withWallet && !stdenv.hostPlatform.isDarwin))
]
++ lib.optionals (!finalAttrs.doCheck) [
(lib.cmakeBool "BUILD_TESTS" false)