From 3630b985553d1ebf3fe0d5c3ba0b62927e16f257 Mon Sep 17 00:00:00 2001 From: Vladimir Kirillov Date: Thu, 20 Nov 2014 15:22:55 +0200 Subject: [PATCH] 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. --- pkgs/top-level/all-packages.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 55c7e9bb644..0d849aa32c5 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 {