Merge pull request #640 from lovek323/pygit

pygit: add DYLD_LIBRARY_PATH to compile on darwin
This commit is contained in:
Evgeny Egorochkin 2013-06-17 22:40:45 -07:00
commit 5de6c72638
1 changed files with 4 additions and 0 deletions

View File

@ -3369,6 +3369,10 @@ pythonPackages = python.modules // rec {
md5 = "8d27f84509a96d6791a6c393ae67d7c8"; md5 = "8d27f84509a96d6791a6c393ae67d7c8";
}; };
preConfigure = ( if stdenv.isDarwin then ''
export DYLD_LIBRARY_PATH="${pkgs.libgit2}/lib"
'' else "" );
propagatedBuildInputs = [ pkgs.libgit2 ]; propagatedBuildInputs = [ pkgs.libgit2 ];
meta = { meta = {