1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00

* Mercurial: always build with HTTPS support.

svn path=/nixpkgs/branches/modular-python/; revision=25395
This commit is contained in:
Eelco Dolstra 2011-01-04 16:44:38 +00:00
parent e4bfdb2da9
commit 9d792e7316
2 changed files with 3 additions and 6 deletions

View file

@ -1,5 +1,5 @@
{ stdenv, fetchurl, python, makeWrapper
, guiSupport ? false, tk ? null }:
, guiSupport ? false, tk ? null, ssl }:
stdenv.mkDerivation rec {
name = "mercurial-1.6.4";
@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
''
for i in $(cd $out/bin && ls); do
wrapProgram $out/bin/$i \
--prefix PYTHONPATH : "$(toPythonPath $out)" \
--prefix PYTHONPATH : "$(toPythonPath "$out ${ssl}")" \
$WRAP_TK
done

View file

@ -6194,10 +6194,7 @@ let
mercurial = callPackage ../applications/version-management/mercurial {
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;
inherit (python27Modules) ssl;
};
merkaartor = callPackage ../applications/misc/merkaartor {