Unverified Commit fd7f2d32 authored by Erik Arvstedt's avatar Erik Arvstedt
Browse files

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

Joinmarket requires legacy wallet support:
https://github.com/JoinMarket-Org/joinmarket-clientserver/blob/79e5c3d0a79fb4456fbd8929fa5de9c5b8361a34/docs/USAGE.md#:~:text=legacy%20wallets

Also, this removes breakage for other legacy wallet users on non-Darwin platforms.
parent e768d95f
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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 = ''