From 4294f4cf3ee4e4c822ddda37eefddf6e5a3e6a8c Mon Sep 17 00:00:00 2001 From: 0xb10c Date: Tue, 15 Apr 2025 18:22:19 +0200 Subject: [PATCH] bitcoin: enable WITH_USDT to match GUIX builds The Bitcoin Core upstream GUIX release builds enable WITH_USDT. To match these, enable this here too. --- 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 50bbea4721f7..09d0be9bc458 100644 --- a/pkgs/applications/blockchains/bitcoin/default.nix +++ b/pkgs/applications/blockchains/bitcoin/default.nix @@ -14,6 +14,7 @@ db48, sqlite, qrencode, + libsystemtap, qtbase ? null, qttools ? null, python3, @@ -60,6 +61,7 @@ stdenv.mkDerivation (finalAttrs: { zeromq zlib ] + ++ lib.optionals (stdenv.hostPlatform.isLinux) [ libsystemtap ] ++ lib.optionals withWallet [ sqlite ] # building with db48 (for legacy descriptor wallet support) is broken on Darwin ++ lib.optionals (withWallet && !stdenv.hostPlatform.isDarwin) [ db48 ] @@ -96,6 +98,7 @@ stdenv.mkDerivation (finalAttrs: { (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.cmakeBool "WITH_USDT" (stdenv.hostPlatform.isLinux)) ] ++ lib.optionals (!finalAttrs.doCheck) [ (lib.cmakeBool "BUILD_TESTS" false)