all-packages: add gitMinimal, use it for nix-exec and fetchgit

since git is used to bootstrap a lot, this can save lots of waiting
time.
This commit is contained in:
Vladimir Kirillov 2014-11-20 15:22:55 +02:00
parent a19eeddd70
commit 3630b98555

@ -309,7 +309,8 @@ let
};
fetchgit = import ../build-support/fetchgit {
inherit stdenv git cacert;
inherit stdenv cacert;
git = gitMinimal;
};
fetchgitPrivate = import ../build-support/fetchgit/private.nix {
@ -3983,10 +3984,7 @@ let
nix-exec = callPackage ../development/interpreters/nix-exec {
nix = nixUnstable;
git = git.override {
withManual = false;
pythonSupport = false;
};
git = gitMinimal;
};
octave = callPackage ../development/interpreters/octave {
@ -9653,6 +9651,10 @@ let
});
git = gitAndTools.git;
gitFull = gitAndTools.gitFull;
gitMinimal = git.override {
withManual = false;
pythonSupport = false;
};
gitSVN = gitAndTools.gitSVN;
gitRepo = callPackage ../applications/version-management/git-repo {