guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: git: Install symlinks instead of hard links.


From: Ludovic Courtès
Subject: 01/01: gnu: git: Install symlinks instead of hard links.
Date: Sun, 28 Feb 2016 15:43:01 +0000

civodul pushed a commit to branch master
in repository guix.

commit 1a59b6d01423060f6364596376db96984b3dccf1
Author: Ludovic Courtès <address@hidden>
Date:   Sun Feb 28 16:39:48 2016 +0100

    gnu: git: Install symlinks instead of hard links.
    
    This reduces nar size by a factor of 10.
    Fixes <http://bugs.gnu.org/21949>.
    
    * gnu/packages/version-control.scm (git)[arguments]: Pass
    NO_INSTALL_HARDLINKS as #:make-flags.
---
 gnu/packages/version-control.scm |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 0712f9f..2215d49 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 <address@hidden>
 ;;; Copyright © 2013 Cyril Roelandt <address@hidden>
-;;; Copyright © 2013, 2014, 2015 Ludovic Courtès <address@hidden>
+;;; Copyright © 2013, 2014, 2015, 2016 Ludovic Courtès <address@hidden>
 ;;; Copyright © 2013, 2014 Andreas Enge <address@hidden>
 ;;; Copyright © 2015 Mathieu Lirzin <address@hidden>
 ;;; Copyright © 2014, 2015 Mark H Weaver <address@hidden>
@@ -149,7 +149,12 @@ as well as the classic centralized workflow.")
               "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 <http://bugs.gnu.org/21949>.
+                     "NO_INSTALL_HARDLINKS=indeed")
       #:test-target "test"
       #:tests? #f ; FIXME: Many tests are failing
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]