diff options
author | Pavol Rusnak <pavol@rusnak.io> | 2022-07-01 14:26:13 +0200 |
---|---|---|
committer | Pavol Rusnak <pavol@rusnak.io> | 2022-07-01 14:26:13 +0200 |
commit | 28385978bc9c827d642091e5e39aa1ff1c478eb7 (patch) | |
tree | 8ad1db6a460312c95372ede9bab5c1b6a8625cdb /pkgs/applications/blockchains | |
parent | e5290b41378a68caf734ff3c0fd9586493e5ab58 (diff) |
bitcoin: fix broken build on aarch64-darwin
by disabling stackprotector which kills the tests
Diffstat (limited to 'pkgs/applications/blockchains')
-rw-r--r-- | pkgs/applications/blockchains/bitcoin/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/blockchains/bitcoin/default.nix b/pkgs/applications/blockchains/bitcoin/default.nix index 5ecbf4fc9790c..cb7355aac17a3 100644 --- a/pkgs/applications/blockchains/bitcoin/default.nix +++ b/pkgs/applications/blockchains/bitcoin/default.nix @@ -74,6 +74,10 @@ stdenv.mkDerivation rec { "--with-qt-bindir=${qtbase.dev}/bin:${qttools.dev}/bin" ]; + # fix "Killed: 9 test/test_bitcoin" + # https://github.com/NixOS/nixpkgs/issues/179474 + hardeningDisable = lib.optionals (stdenv.isAarch64 && stdenv.isDarwin) [ "stackprotector" ]; + checkInputs = [ python3 ]; doCheck = true; |