forked from mirrors/nixpkgs
bitcoin: fix build on Darwin
- use boost 1.7x - that's what upstream is doing anyway - use autoSignDarwinBinariesHook on aarch64-darwin
This commit is contained in:
parent
a97f20e5d8
commit
201661a628
|
@ -5,6 +5,7 @@
|
|||
, pkg-config
|
||||
, util-linux
|
||||
, hexdump
|
||||
, autoSignDarwinBinariesHook
|
||||
, wrapQtAppsHook ? null
|
||||
, boost
|
||||
, libevent
|
||||
|
@ -47,6 +48,7 @@ stdenv.mkDerivation rec {
|
|||
[ autoreconfHook pkg-config ]
|
||||
++ optionals stdenv.isLinux [ util-linux ]
|
||||
++ optionals stdenv.isDarwin [ hexdump ]
|
||||
++ optionals (stdenv.isDarwin && stdenv.isAarch64) [ autoSignDarwinBinariesHook ]
|
||||
++ optionals withGui [ wrapQtAppsHook ];
|
||||
|
||||
buildInputs = [ boost libevent miniupnpc zeromq zlib ]
|
||||
|
|
|
@ -29486,13 +29486,17 @@ with pkgs;
|
|||
balanceofsatoshis = nodePackages.balanceofsatoshis;
|
||||
|
||||
bitcoin = libsForQt5.callPackage ../applications/blockchains/bitcoin {
|
||||
boost = boost17x;
|
||||
miniupnpc = miniupnpc_2;
|
||||
withGui = true;
|
||||
inherit (darwin) autoSignDarwinBinariesHook;
|
||||
};
|
||||
|
||||
bitcoind = callPackage ../applications/blockchains/bitcoin {
|
||||
boost = boost17x;
|
||||
miniupnpc = miniupnpc_2;
|
||||
withGui = false;
|
||||
inherit (darwin) autoSignDarwinBinariesHook;
|
||||
};
|
||||
|
||||
bitcoind-knots = callPackage ../applications/blockchains/bitcoin-knots { miniupnpc = miniupnpc_2; };
|
||||
|
|
Loading…
Reference in a new issue