Merge pull request #182057 from jiegec/arpack-darwin

arpack: unbreak on aarch64-darwin
This commit is contained in:
Robert Scott 2022-07-21 21:25:27 +01:00 committed by GitHub
commit 9d28e3414b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -45,6 +45,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 = ''