guix-commits
[Top][All Lists]
Advanced

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

07/25: gnu: emacs-fish-completion: Don't use unstable tarball.


From: guix-commits
Subject: 07/25: gnu: emacs-fish-completion: Don't use unstable tarball.
Date: Sun, 7 Jul 2019 09:49:43 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 8330715878d6387a6c5c87adcee2f181dc36c117
Author: Brian Leung <address@hidden>
Date:   Wed Jun 26 03:57:37 2019 +0200

    gnu: emacs-fish-completion: Don't use unstable tarball.
    
    * gnu/packages/emacs-xyz.scm (emacs-fish-completion)[source]: Use GIT-FETCH
      and GIT-FILE-NAME.
    
    Signed-off-by: Ludovic Courtès <address@hidden>
---
 gnu/packages/emacs-xyz.scm | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 7dd31c0..489e2ce 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -13053,14 +13053,14 @@ cohesion with the Emacs Way.")
     (version "1.1")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append
-             "https://gitlab.com/Ambrevar/emacs-fish-completion/repository/";
-             "archive.tar.gz?ref="
-             version))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://gitlab.com/Ambrevar/emacs-fish-completion.git";)
+             (commit version)))
+       (file-name (git-file-name name version))
        (sha256
         (base32
-         "0bpvifv6c2a65nks6kvarw0hhm37fnyy74wikwf9qq1i20va0fpv"))))
+         "1pjqnbyjmj64q5nwq1mrdxcls4fp5y0b6zqs785i0s6wdvrm4021"))))
     (build-system emacs-build-system)
     (inputs `(("fish" ,fish)))
     (arguments
@@ -13071,6 +13071,7 @@ cohesion with the Emacs Way.")
              (let ((fish (assoc-ref inputs "fish")))
                ;; Specify the absolute file names of the various
                ;; programs so that everything works out-of-the-box.
+               (make-file-writable "fish-completion.el")
                (emacs-substitute-variables
                    "fish-completion.el"
                  ("fish-completion-command"



reply via email to

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