igraph: fix libblas.dylib's path on darwin
(cherry picked from commit 73df171f26f426d1e2201e04ad0a7fa556eca17b)
This commit is contained in:
parent
6514fc8f6b
commit
b7e6b86c74
|
@ -96,6 +96,10 @@ stdenv.mkDerivation rec {
|
||||||
cp -r doc "$out/share"
|
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; {
|
meta = with lib; {
|
||||||
description = "The network analysis package";
|
description = "The network analysis package";
|
||||||
homepage = "https://igraph.org/";
|
homepage = "https://igraph.org/";
|
||||||
|
|
Loading…
Reference in New Issue