anchor.diff:    ] ++ optionals (!doCheck) [
       "--disable-tests"
       "--disable-gui-tests"
  -  ]
  -  ++ optionals withGui [
  +  ] ++ optionals (!withWallet) [
  +    "--disable-wallet"
  +  ] ++ optionals withGui [
       "--with-gui=qt5"
       "--with-qt-bindir=${qtbase.dev}/bin:${qttools.dev}/bin"
     ];
  
positive.code:   };
  
    nativeBuildInputs =
      [ pkgconfig autoreconfHook ]
      ++ optional stdenv.isDarwin hexdump
      ++ optional withGui wrapQtAppsHook;
    buildInputs = [ db48 boost zlib zeromq miniupnpc libevent ]
      ++ optionals stdenv.isLinux [ util-linux ]
      ++ optionals withGui [ qtbase qttools qrencode ];
  
    postInstall = optional withGui ''
  
negative.code: { stdenv
  , fetchurl
  , pkg-config
  , autoreconfHook
  , db48
  , boost
  