forked from mirrors/nixpkgs
Merge pull request #640 from lovek323/pygit
pygit: add DYLD_LIBRARY_PATH to compile on darwin
This commit is contained in:
commit
5de6c72638
|
@ -3369,6 +3369,10 @@ pythonPackages = python.modules // rec {
|
|||
md5 = "8d27f84509a96d6791a6c393ae67d7c8";
|
||||
};
|
||||
|
||||
preConfigure = ( if stdenv.isDarwin then ''
|
||||
export DYLD_LIBRARY_PATH="${pkgs.libgit2}/lib"
|
||||
'' else "" );
|
||||
|
||||
propagatedBuildInputs = [ pkgs.libgit2 ];
|
||||
|
||||
meta = {
|
||||
|
|
Loading…
Reference in a new issue