Merge pull request #308774 from erikarvstedt/bitcoin-reenable-bdb-wallets

bitcoin: reenable bdb legacy wallet support on non-Darwin platforms
This commit is contained in:
Pavol Rusnak 2024-05-03 18:44:44 +02:00 committed by GitHub
commit d7c846b443
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,6 +13,7 @@
, miniupnpc
, zeromq
, zlib
, db48
, sqlite
, qrencode
, qtbase ? null
@ -51,6 +52,8 @@ stdenv.mkDerivation rec {
buildInputs = [ boost libevent miniupnpc zeromq zlib ]
++ lib.optionals withWallet [ sqlite ]
# building with db48 (for legacy descriptor wallet support) is broken on Darwin
++ lib.optionals (withWallet && !stdenv.isDarwin) [ db48 ]
++ lib.optionals withGui [ qrencode qtbase qttools ];
postInstall = ''