guix-commits
[Top][All Lists]
Advanced

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

03/03: gnu: magit: Do not set 'magit-git-executable' to absolute file na


From: Mark H. Weaver
Subject: 03/03: gnu: magit: Do not set 'magit-git-executable' to absolute file name.
Date: Wed, 14 Feb 2018 03:43:37 -0500 (EST)

mhw pushed a commit to branch core-updates
in repository guix.

commit 84fe44201b6e61b21d739058920385e3edfcd411
Author: Mark H Weaver <address@hidden>
Date:   Wed Feb 14 03:25:38 2018 -0500

    gnu: magit: Do not set 'magit-git-executable' to absolute file name.
    
    Fixes <https://bugs.gnu.org/30434>.
    Reported by Ricardo Wurmus <address@hidden>.
    
    * gnu/packages/emacs.scm (magit)[arguments]: Do not modify the default value
    of 'magit-git-executable'.  Remove "#:modules" and "#:imported-modules".
---
 gnu/packages/emacs.scm | 15 +++------------
 1 file changed, 3 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 7e36ceb..da524f8 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -1,7 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2014 Taylan Ulrich Bayirli/Kammer <address@hidden>
 ;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018 Ludovic Courtès 
<address@hidden>
-;;; Copyright © 2014, 2015, 2016, 2017 Mark H Weaver <address@hidden>
+;;; Copyright © 2014, 2015, 2016, 2017, 2018 Mark H Weaver <address@hidden>
 ;;; Copyright © 2014, 2015, 2016, 2017 Alex Kost <address@hidden>
 ;;; Copyright © 2015 Federico Beffa <address@hidden>
 ;;; Copyright © 2015, 2016, 2017, 2018 Ricardo Wurmus <address@hidden>
@@ -450,13 +450,7 @@ on stdout instead of using a socket as the Emacsclient 
does.")
        ;; XXX Add 'magit-popup' dependency for the next release (after 2.11.0).
        ("with-editor" ,emacs-with-editor)))
     (arguments
-     `(#:modules ((guix build gnu-build-system)
-                  (guix build utils)
-                  (guix build emacs-utils))
-       #:imported-modules (,@%gnu-build-system-modules
-                           (guix build emacs-utils))
-
-       #:test-target "test"
+     `(#:test-target "test"
        #:tests? #f               ; tests are not included in the release
 
        #:make-flags
@@ -478,10 +472,7 @@ on stdout instead of using a socket as the Emacsclient 
does.")
          (add-before
           'build 'patch-exec-paths
           (lambda* (#:key inputs #:allow-other-keys)
-            (let ((git  (assoc-ref inputs "git"))
-                  (perl (assoc-ref inputs "perl")))
-              (emacs-substitute-variables "lisp/magit-git.el"
-                ("magit-git-executable" (string-append git "/bin/git")))
+            (let ((perl (assoc-ref inputs "perl")))
               (substitute* "lisp/magit-sequence.el"
                 (("perl") (string-append perl "/bin/perl")))
               #t))))))



reply via email to

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