mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-18 21:46:35 +01:00
release.nix: Reduce the number of dependencies.
* release.nix (tarball): Use a minimal Git.
This commit is contained in:
parent
4cdbdd4439
commit
d688a2f0fd
1 changed files with 11 additions and 1 deletions
12
release.nix
12
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 =
|
||||
|
|
Loading…
Reference in a new issue