@@ -1,4 +1,5 @@
1−{ stdenv, fetchFromGitHub, cmake, pkgconfig, git
1+{ stdenv, fetchFromGitHub, fetchpatch
2+, cmake, pkgconfig, git
23, boost, miniupnpc, openssl, unbound, cppzmq
34, zeromq, pcsclite, readline
45, CoreData, IOKit, PCSC
@@ -21,6 +22,14 @@ stdenv.mkDerivation rec {
2122
2223 nativeBuildInputs = [ cmake pkgconfig git ];
2324
25+ patches = [
26+ # fix daemon crash, remove with 0.12.1.0 update
27+ (fetchpatch {
28+ url = "https://github.com/monero-project/monero/commit/08343ab.diff";
29+ sha256 = "0f1snrl2mk2czwk1ysympzr8ismjx39fcqgy13276vcmw0cfqi83";
30+ })
31+ ];
32+
2433 buildInputs = [
2534 boost miniupnpc openssl unbound
2635 cppzmq zeromq pcsclite readline