@@ -16,15 +16,15 @@ stdenv.mkDerivation rec {
1616 sha256 = "06ij9v7zbdnhxq9429nnxiw655cp8idldj18l7fmj94gqx07n5vh";
1717 };
1818
19− patches = [ ./fix-bitcoin-qt-build.patch ];
20−
2119 nativeBuildInputs = [ pkgconfig autoreconfHook ];
2220 buildInputs = [ openssl db48 boost zlib
2321 miniupnpc utillinux protobuf libevent ]
2422 ++ optionals withGui [ qtbase qttools qrencode ];
2523
2624 configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ]
27− ++ optionals withGui [ "--with-gui=qt5" ];
25+ ++ optionals withGui [ "--with-gui=qt5"
26+ "--with-qt-bindir=${qtbase.dev}/bin:${qttools.dev}/bin"
27+ ];
2828
2929 enableParallelBuilding = true;
3030