anchor.diff:      ++ optional withGui wrapQtAppsHook;
     buildInputs = [ boost zlib zeromq miniupnpc libevent ]
       ++ optionals stdenv.isLinux [ util-linux ]
  -    ++ optionals withWallet [ db48 ]
  +    ++ optionals withWallet [ db48 sqlite ]
       ++ optionals withGui [ qtbase qttools qrencode ];
   
     postInstall = optional withGui ''
  
positive.code:       "https://bitcoincore.org/bin/bitcoin-core-${version}/bitcoin-${version}.tar.gz"
        "https://bitcoin.org/bin/bitcoin-core-${version}/bitcoin-${version}.tar.gz"
      ];
      sha256 = "4bbd62fd6acfa5e9864ebf37a24a04bc2dcfe3e3222f056056288d854c53b978";
    };
  
    nativeBuildInputs =
  
negative.code: , pkg-config
  , autoreconfHook
  , db48
  , sqlite
  , boost
  , zeromq
  , hexdump
  