pygit: add DYLD_LIBRARY_PATH to compile on darwin

This commit is contained in:
Jason "Don" O'Conal 2013-05-27 13:43:53 +10:00
parent 5bc8275075
commit f3fade60fc

View file

@ -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 = {