From a4f18085a1613b9be4be8f4feafffbd4e124c7f9 Mon Sep 17 00:00:00 2001 From: 0xb10c Date: Tue, 15 Apr 2025 18:14:26 +0200 Subject: [PATCH] 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. --- pkgs/applications/blockchains/bitcoin/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/applications/blockchains/bitcoin/default.nix b/pkgs/applications/blockchains/bitcoin/default.nix index 59e160ee4fb1..50bbea4721f7 100644 --- a/pkgs/applications/blockchains/bitcoin/default.nix +++ b/pkgs/applications/blockchains/bitcoin/default.nix @@ -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)