arpack: unbreak on aarch64-darwin

Disable stackprotector on aarch64-darwin.

Fix #140041.
This commit is contained in:
Jiajie Chen 2022-07-19 14:50:41 +08:00
parent f46c6faeff
commit e9c1d81bf3

View file

@ -49,6 +49,10 @@ stdenv.mkDerivation rec {
install_name_tool -change libblas.dylib ${blas}/lib/libblas.dylib $out/lib/libarpack.dylib
'';
# disable stackprotector on aarch64-darwin for now
# https://github.com/NixOS/nixpkgs/issues/127608
hardeningDisable = lib.optionals (stdenv.isAarch64 && stdenv.isDarwin) [ "stackprotector" ];
meta = {
homepage = "https://github.com/opencollab/arpack-ng";
description = ''