git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #40212 from rnhmjoj/monero-fix

monero: fix daemon crash

commit941054a39b899c0cdb64278baf56c5ee883c9c5b authorxeji <36407913+xeji@users.noreply.github.com> dateWed 9 May 2018, 12:15 (9 years ago) parent5720c05f8f65f8
1 file changed+10−1
pkgs/applications/altcoins/monero/default.nix+10−1
pkgs/applications/altcoins/monero/default.nix+10−1
@@ -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