From 47de42835afe2b401c18f6c803100af28c5e176b Mon Sep 17 00:00:00 2001 From: Nicolas Pierron Date: Sat, 14 Nov 2009 20:14:09 +0000 Subject: [PATCH] * Add https support for mercurial. svn path=/nixpkgs/trunk/; revision=18345 --- pkgs/top-level/all-packages.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index fd8d1968ec5..75e017c7151 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7265,8 +7265,12 @@ let }; 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) + python = # allow cloning sources from https servers. + if getConfig ["mercurial" "httpsSupport"] true + then pythonFull + else pythonBase; }; meshlab = import ../applications/graphics/meshlab {