diff options
author | Pavol Rusnak <pavol@rusnak.io> | 2021-11-12 22:10:51 +0100 |
---|---|---|
committer | Pavol Rusnak <pavol@rusnak.io> | 2021-11-12 22:43:48 +0100 |
commit | 201661a628ccc8c78f96f64ecd4e5546962e0f55 (patch) | |
tree | f698c172ff122857213ff1ff97518f7a735fc622 /pkgs/applications | |
parent | a97f20e5d822a373153dca35058462dc00a0cf5b (diff) |
bitcoin: fix build on Darwin
- use boost 1.7x - that's what upstream is doing anyway - use autoSignDarwinBinariesHook on aarch64-darwin
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/blockchains/bitcoin/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/applications/blockchains/bitcoin/default.nix b/pkgs/applications/blockchains/bitcoin/default.nix index 7a0237ed2b15a..7253d3dff3772 100644 --- a/pkgs/applications/blockchains/bitcoin/default.nix +++ b/pkgs/applications/blockchains/bitcoin/default.nix @@ -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 ] |