* Add https support for mercurial.

svn path=/nixpkgs/trunk/; revision=18345
This commit is contained in:
Nicolas Pierron 2009-11-14 20:14:09 +00:00
parent f26614bb78
commit 47de42835a

View file

@ -7265,8 +7265,12 @@ let
}; };
mercurial = import ../applications/version-management/mercurial { mercurial = import ../applications/version-management/mercurial {
inherit fetchurl stdenv python makeWrapper getConfig tk; inherit fetchurl stdenv makeWrapper getConfig tk;
guiSupport = getConfig ["mercurial" "guiSupport"] false; # for hgk (gitk gui for hg) guiSupport = getConfig ["mercurial" "guiSupport"] false; # for hgk (gitk gui for hg)
python = # allow cloning sources from https servers.
if getConfig ["mercurial" "httpsSupport"] true
then pythonFull
else pythonBase;
}; };
meshlab = import ../applications/graphics/meshlab { meshlab = import ../applications/graphics/meshlab {