@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub
1+{ stdenv, fetchFromGitHub, fetchpatch
22, cmake, pkgconfig
33, boost, miniupnpc, openssl, unbound
44, zeromq, pcsclite, readline, libsodium, hidapi
@@ -27,7 +27,16 @@ stdenv.mkDerivation rec {
2727 fetchSubmodules = true;
2828 };
2929
30− patches = [ ./use-system-libraries.patch ];
30+ patches = [
31+ ./use-system-libraries.patch
32+
33+ # This fixes a bug in the monero-gui build system,
34+ # remove it once the PR has been merged
35+ (fetchpatch {
36+ url = "https://github.com/monero-project/monero/pull/6867.patch";
37+ sha256 = "0nxa6861df1fadrm9bmhqf2g6mljgr4jndsbxqp7g501hv9z51j3";
38+ })
39+ ];
3140
3241 postPatch = ''
3342 # remove vendored libraries