summaryrefslogtreecommitdiff
path: root/release.nix
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-03-02 22:56:30 +0100
committerLudovic Courtès <ludo@gnu.org>2013-03-02 22:56:30 +0100
commitd688a2f0fd2ab32f476917798e59e9ce9beef868 (patch)
tree03eb45d8155d7479439c829ffe50d40e8a391613 /release.nix
parent4cdbdd4439d493659af60608c37704545b376600 (diff)
release.nix: Reduce the number of dependencies.
* release.nix (tarball): Use a minimal Git.
Diffstat (limited to 'release.nix')
-rw-r--r--release.nix12
1 files changed, 11 insertions, 1 deletions
diff --git a/release.nix b/release.nix
index 91eb372c60..5aab8600ab 100644
--- a/release.nix
+++ b/release.nix
@@ -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 =