From 876420f04e4d29ed16c2e43774fab6e000526dfa Mon Sep 17 00:00:00 2001 From: Yuriy Taraday Date: Mon, 12 Mar 2018 04:06:06 +0400 Subject: bitcoin-unlimited: fix build with boost 1.66 Use part of fix for mainline bitcoin: https://github.com/bitcoin/bitcoin/commit/1ec0c0a01c316146434642ab2f14a7367306dbec Also enable parallel builds for speed. --- pkgs/applications/altcoins/bitcoin-unlimited.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'pkgs/applications/altcoins/bitcoin-unlimited.nix') diff --git a/pkgs/applications/altcoins/bitcoin-unlimited.nix b/pkgs/applications/altcoins/bitcoin-unlimited.nix index 9eb1e54b9093..23d9e63459ab 100644 --- a/pkgs/applications/altcoins/bitcoin-unlimited.nix +++ b/pkgs/applications/altcoins/bitcoin-unlimited.nix @@ -21,8 +21,13 @@ stdenv.mkDerivation rec { miniupnpc utillinux protobuf libevent ] ++ optionals withGui [ qt4 qrencode ]; + patches = [ + ./bitcoin-unlimited-const-comparators.patch + ]; + configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ] ++ optionals withGui [ "--with-gui=qt4" ]; + enableParallelBuilding = true; meta = { description = "Peer-to-peer electronic cash system (Unlimited client)"; -- cgit 1.4.1