release.nix: Reduce the number of dependencies.

* release.nix (tarball): Use a minimal Git.
master
Ludovic Courtès 2013-03-02 22:56:30 +01:00
parent 4cdbdd4439
commit d688a2f0fd
1 changed files with 11 additions and 1 deletions

View File

@ -71,7 +71,17 @@ let
pkgs.releaseTools.sourceTarball {
name = "guix-tarball";
src = <guix>;
buildInputs = with pkgs; [ guile sqlite bzip2 git libgcrypt ];
buildInputs =
let git_light = pkgs.git.override {
# Minimal Git to avoid building too many dependencies.
withManual = false;
pythonSupport = false;
svnSupport = false;
guiSupport = false;
};
in
[ git_light ] ++
(with pkgs; [ guile sqlite bzip2 libgcrypt ]);
buildNativeInputs = with pkgs; [ texinfo gettext cvs pkgconfig ];
preAutoconf = ''git config submodule.nix.url "${<nix>}"'';
configureFlags =