igraph: fix libblas.dylib's path on darwin
This commit is contained in:
parent
1241d9fae3
commit
73df171f26
|
@ -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/";
|
||||
|
|
Loading…
Reference in a new issue