From 1a59b6d01423060f6364596376db96984b3dccf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sun, 28 Feb 2016 16:39:48 +0100 Subject: [PATCH] gnu: git: Install symlinks instead of hard links. This reduces nar size by a factor of 10. Fixes . * gnu/packages/version-control.scm (git)[arguments]: Pass NO_INSTALL_HARDLINKS as #:make-flags. --- gnu/packages/version-control.scm | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 0712f9f392..2215d4991d 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -1,7 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2013 Nikita Karetnikov ;;; Copyright © 2013 Cyril Roelandt -;;; Copyright © 2013, 2014, 2015 Ludovic Courtès +;;; Copyright © 2013, 2014, 2015, 2016 Ludovic Courtès ;;; Copyright © 2013, 2014 Andreas Enge ;;; Copyright © 2015 Mathieu Lirzin ;;; Copyright © 2014, 2015 Mark H Weaver @@ -149,7 +149,12 @@ (define-public git "svn" ; git-svn "gui")) ; gitk, git gui (arguments - `(#:make-flags `("V=1") ; more verbose compilation + `(#:make-flags `("V=1" ;more verbose compilation + + ;; By default 'make install' creates hard links for + ;; things in 'libexec/git-core', which leads to huge + ;; nars; see . + "NO_INSTALL_HARDLINKS=indeed") #:test-target "test" #:tests? #f ; FIXME: Many tests are failing