arpack: fix libblas.dylib's path on darwin

(cherry picked from commit 1241d9fae3451b824506277174b6053a379f4db7)
This commit is contained in:
Robert Scott 2021-05-22 19:03:56 +01:00 committed by Robert Schütz
parent 11f5b3279d
commit 6514fc8f6b
1 changed files with 4 additions and 0 deletions

View File

@ -46,6 +46,10 @@ stdenv.mkDerivation rec {
export OMP_NUM_THREADS=2
'';
postFixup = lib.optionalString stdenv.isDarwin ''
install_name_tool -change libblas.dylib ${blas}/lib/libblas.dylib $out/lib/libarpack.dylib
'';
meta = {
homepage = "https://github.com/opencollab/arpack-ng";
description = ''