Merge pull request #145684 from prusnak/bitcoin

This commit is contained in:
Sandro 2021-11-12 23:23:08 +01:00 committed by GitHub
commit 4faef81412
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View file

@ -5,6 +5,7 @@
, pkg-config , pkg-config
, util-linux , util-linux
, hexdump , hexdump
, autoSignDarwinBinariesHook
, wrapQtAppsHook ? null , wrapQtAppsHook ? null
, boost , boost
, libevent , libevent
@ -47,6 +48,7 @@ stdenv.mkDerivation rec {
[ autoreconfHook pkg-config ] [ autoreconfHook pkg-config ]
++ optionals stdenv.isLinux [ util-linux ] ++ optionals stdenv.isLinux [ util-linux ]
++ optionals stdenv.isDarwin [ hexdump ] ++ optionals stdenv.isDarwin [ hexdump ]
++ optionals (stdenv.isDarwin && stdenv.isAarch64) [ autoSignDarwinBinariesHook ]
++ optionals withGui [ wrapQtAppsHook ]; ++ optionals withGui [ wrapQtAppsHook ];
buildInputs = [ boost libevent miniupnpc zeromq zlib ] buildInputs = [ boost libevent miniupnpc zeromq zlib ]

View file

@ -29486,13 +29486,17 @@ with pkgs;
balanceofsatoshis = nodePackages.balanceofsatoshis; balanceofsatoshis = nodePackages.balanceofsatoshis;
bitcoin = libsForQt5.callPackage ../applications/blockchains/bitcoin { bitcoin = libsForQt5.callPackage ../applications/blockchains/bitcoin {
boost = boost17x;
miniupnpc = miniupnpc_2; miniupnpc = miniupnpc_2;
withGui = true; withGui = true;
inherit (darwin) autoSignDarwinBinariesHook;
}; };
bitcoind = callPackage ../applications/blockchains/bitcoin { bitcoind = callPackage ../applications/blockchains/bitcoin {
boost = boost17x;
miniupnpc = miniupnpc_2; miniupnpc = miniupnpc_2;
withGui = false; withGui = false;
inherit (darwin) autoSignDarwinBinariesHook;
}; };
bitcoind-knots = callPackage ../applications/blockchains/bitcoin-knots { miniupnpc = miniupnpc_2; }; bitcoind-knots = callPackage ../applications/blockchains/bitcoin-knots { miniupnpc = miniupnpc_2; };