mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
* Mercurial: always build with HTTPS support.
svn path=/nixpkgs/branches/modular-python/; revision=25395
This commit is contained in:
parent
e4bfdb2da9
commit
9d792e7316
@ -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
|
||||
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user