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.
This commit is contained in:
0xb10c
2025-04-15 18:22:19 +02:00
parent a4f18085a1
commit 4294f4cf3e
@@ -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)