Unverified Commit a4f18085 authored by 0xb10c's avatar 0xb10c
Browse files

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.
parent 35482917
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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)