Merge pull request #124068 from risicle/ris-igraph-arpack-darwin-blas-paths
igraph,arpack: correct libblas.dylib's path on darwin, fixing python3Packages.python-igraph
This commit is contained in:
commit
dfc658fd2e
|
@ -96,6 +96,10 @@ stdenv.mkDerivation rec {
|
|||
cp -r doc "$out/share"
|
||||
'';
|
||||
|
||||
postFixup = lib.optionalString stdenv.isDarwin ''
|
||||
install_name_tool -change libblas.dylib ${blas}/lib/libblas.dylib $out/lib/libigraph.dylib
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "The network analysis package";
|
||||
homepage = "https://igraph.org/";
|
||||
|
|
|
@ -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 = ''
|
||||
|
|
Loading…
Reference in a new issue