bitcoin: fix broken build on aarch64-darwin

by disabling stackprotector which kills the tests
This commit is contained in:
Pavol Rusnak 2022-07-01 14:26:13 +02:00
parent e5290b4137
commit 28385978bc
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -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;