monero: apply patch to fix monero-gui build

This is a more appropriate solution to fix a
build error in monero-gui.
This commit is contained in:
rnhmjoj
2020-10-08 01:12:31 +02:00
parent 059292cc64
commit b5ca332b1d
2 changed files with 14 additions and 4 deletions
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub
{ stdenv, fetchFromGitHub, fetchpatch
, cmake, pkgconfig
, boost, miniupnpc, openssl, unbound
, zeromq, pcsclite, readline, libsodium, hidapi
@@ -27,7 +27,16 @@ stdenv.mkDerivation rec {
fetchSubmodules = true;
};
patches = [ ./use-system-libraries.patch ];
patches = [
./use-system-libraries.patch
# This fixes a bug in the monero-gui build system,
# remove it once the PR has been merged
(fetchpatch {
url = "https://github.com/monero-project/monero/pull/6867.patch";
sha256 = "0nxa6861df1fadrm9bmhqf2g6mljgr4jndsbxqp7g501hv9z51j3";
})
];
postPatch = ''
# remove vendored libraries