bitcoin: reenable bdb legacy wallet support on non-Darwin platforms

Joinmarket requires legacy wallet support:
79e5c3d0a7/docs/USAGE.md#:~:text=legacy%20wallets

Also, this removes breakage for other legacy wallet users on non-Darwin platforms.
This commit is contained in:
Erik Arvstedt 2024-05-03 13:13:58 +02:00
parent e768d95f41
commit fd7f2d32bc
No known key found for this signature in database
GPG Key ID: 33312B944DD97846

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 = ''