Skip to content

Commit 4294f4c

Browse files
committed
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.
1 parent a4f1808 commit 4294f4c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkgs/applications/blockchains/bitcoin/default.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
db48,
1515
sqlite,
1616
qrencode,
17+
libsystemtap,
1718
qtbase ? null,
1819
qttools ? null,
1920
python3,
@@ -60,6 +61,7 @@ stdenv.mkDerivation (finalAttrs: {
6061
zeromq
6162
zlib
6263
]
64+
++ lib.optionals (stdenv.hostPlatform.isLinux) [ libsystemtap ]
6365
++ lib.optionals withWallet [ sqlite ]
6466
# building with db48 (for legacy descriptor wallet support) is broken on Darwin
6567
++ lib.optionals (withWallet && !stdenv.hostPlatform.isDarwin) [ db48 ]
@@ -96,6 +98,7 @@ stdenv.mkDerivation (finalAttrs: {
9698
(lib.cmakeBool "WITH_ZMQ" true)
9799
# building with db48 (for legacy wallet support) is broken on Darwin
98100
(lib.cmakeBool "WITH_BDB" (withWallet && !stdenv.hostPlatform.isDarwin))
101+
(lib.cmakeBool "WITH_USDT" (stdenv.hostPlatform.isLinux))
99102
]
100103
++ lib.optionals (!finalAttrs.doCheck) [
101104
(lib.cmakeBool "BUILD_TESTS" false)

0 commit comments

Comments
 (0)