summary refs log tree commit diff
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2021-05-19 00:18:40 +0200
committerMarius Bakke <marius@gnu.org>2021-05-22 17:08:15 +0200
commitfcf45f8d756b92c5a99308d671af8992b489c4b4 (patch)
treef07d3d18807047d86da3e7b052c5168ab77d6abf
parent2ae0c5d92037903593e4f307cc25fa4694055898 (diff)
downloadguix-fcf45f8d756b92c5a99308d671af8992b489c4b4.tar.gz
gnu: emacs-libgit: Fix installation failure.
* gnu/packages/emacs-xyz.scm (emacs-libgit)[arguments]: Adjust for renamed
source directory.  While at it, removing trailing #t's.
-rw-r--r--gnu/packages/emacs-xyz.scm8
1 files changed, 3 insertions, 5 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 9375fe7b4b..89c2d5c3b6 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -576,14 +576,12 @@ on stdout instead of using a socket as the Emacsclient does.")
                  (make-file-writable "libgit.el")
                  (emacs-substitute-variables "libgit.el"
                    ("libgit--module-file"
-                    (string-append (emacs:elpa-directory out) "/libegit2.so")))
-                 #t)))
+                    (string-append (emacs:elpa-directory out) "/libegit2.so"))))))
            (add-before 'install 'prepare-for-install
              (lambda _
-               (let ((s (string-append "../" ,name "-" ,version "-checkout")))
+               (let ((s "../source"))
                  (copy-file "libegit2.so" (string-append s "/libegit2.so"))
-                 (chdir s)
-                 #t)))
+                 (chdir s))))
            (replace 'install
              (lambda* (#:key outputs #:allow-other-keys)
                (let ((install (assoc-ref emacs:%standard-phases 'install)))