Skip to content

Commit f15573c

Browse files
authored
bitcoin: add missing cmake config flags (#398911)
2 parents b0630a6 + 4294f4c commit f15573c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pkgs/applications/blockchains/bitcoin/default.nix

Lines changed: 6 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 ]
@@ -93,6 +95,10 @@ stdenv.mkDerivation (finalAttrs: {
9395
cmakeFlags =
9496
[
9597
(lib.cmakeBool "BUILD_BENCH" false)
98+
(lib.cmakeBool "WITH_ZMQ" true)
99+
# building with db48 (for legacy wallet support) is broken on Darwin
100+
(lib.cmakeBool "WITH_BDB" (withWallet && !stdenv.hostPlatform.isDarwin))
101+
(lib.cmakeBool "WITH_USDT" (stdenv.hostPlatform.isLinux))
96102
]
97103
++ lib.optionals (!finalAttrs.doCheck) [
98104
(lib.cmakeBool "BUILD_TESTS" false)

0 commit comments

Comments
 (0)