@@ -5,9 +5,9 @@
55, randomx, rapidjson
66, CoreData, IOKit, PCSC
77, trezorSupport ? true
8− , libusb1 ? null
9− , protobuf ? null
10− , python3 ? null
8+, libusb1 ? null
9+, protobuf ? null
10+, python3 ? null
1111}:
1212
1313with stdenv.lib;
@@ -32,6 +32,8 @@ stdenv.mkDerivation rec {
3232 postPatch = ''
3333 # remove vendored libraries
3434 rm -r external/{miniupnp,randomx,rapidjson,unbound}
35+ # export patched source for monero-gui
36+ cp -r . $source
3537 '';
3638
3739 nativeBuildInputs = [ cmake pkgconfig ];
@@ -52,6 +54,8 @@ stdenv.mkDerivation rec {
5254 "-DRandomX_ROOT_DIR=${randomx}"
5355 ] ++ optional stdenv.isDarwin "-DBoost_USE_MULTITHREADED=OFF";
5456
57+ outputs = [ "out" "source" ];
58+
5559 meta = with stdenv.lib; {
5660 description = "Private, secure, untraceable currency";
5761 homepage = "https://getmonero.org/";