mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-14 21:49:34 +03:00
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
2 changed files with 8 additions and 0 deletions
|
@ -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/";
|
||||||
|
|
|
@ -46,6 +46,10 @@ stdenv.mkDerivation rec {
|
||||||
export OMP_NUM_THREADS=2
|
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 = {
|
meta = {
|
||||||
homepage = "https://github.com/opencollab/arpack-ng";
|
homepage = "https://github.com/opencollab/arpack-ng";
|
||||||
description = ''
|
description = ''
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue