diff options
author | rnhmjoj <rnhmjoj@inventati.org> | 2020-10-08 00:03:11 +0200 |
---|---|---|
committer | rnhmjoj <rnhmjoj@inventati.org> | 2020-10-08 00:07:24 +0200 |
commit | 59fe3e87c32e13f02e84924c3153e0bbd61a6fc6 (patch) | |
tree | 208cfa9153f47e56673672526e7b582eb54d922d /pkgs/applications/blockchains/monero | |
parent | cc90474581424f08ffed9abc3ed159eb96e60a12 (diff) |
monero: export patched sources
This is needed to build monero-gui without duplicating code.
Diffstat (limited to 'pkgs/applications/blockchains/monero')
-rw-r--r-- | pkgs/applications/blockchains/monero/default.nix | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/pkgs/applications/blockchains/monero/default.nix b/pkgs/applications/blockchains/monero/default.nix index f424624cc298..5b666e92ae8a 100644 --- a/pkgs/applications/blockchains/monero/default.nix +++ b/pkgs/applications/blockchains/monero/default.nix @@ -5,9 +5,9 @@ , randomx, rapidjson , CoreData, IOKit, PCSC , trezorSupport ? true - , libusb1 ? null - , protobuf ? null - , python3 ? null +, libusb1 ? null +, protobuf ? null +, python3 ? null }: with stdenv.lib; @@ -32,6 +32,8 @@ stdenv.mkDerivation rec { postPatch = '' # remove vendored libraries rm -r external/{miniupnp,randomx,rapidjson,unbound} + # export patched source for monero-gui + cp -r . $source ''; nativeBuildInputs = [ cmake pkgconfig ]; @@ -52,6 +54,8 @@ stdenv.mkDerivation rec { "-DRandomX_ROOT_DIR=${randomx}" ] ++ optional stdenv.isDarwin "-DBoost_USE_MULTITHREADED=OFF"; + outputs = [ "out" "source" ]; + meta = with stdenv.lib; { description = "Private, secure, untraceable currency"; homepage = "https://getmonero.org/"; |