~ruther/guix-local

1fc556b686d4f3a8f16e73a732dc3b867139c8cb — Sergey Trofimov a month ago aa6add1
import: elpa: Fix repo url for melpa git recipes.

* guix/import/elpa.scm (melpa-recipe->origin): Take repo location from
:url for `git' :fetcher.

Merges guix/guix!5631

Change-Id: I6a3a8cef52eda2e5c731b8ff7f38f17dc920e167
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
1 files changed, 1 insertions(+), 1 deletions(-)

M guix/import/elpa.scm
M guix/import/elpa.scm => guix/import/elpa.scm +1 -1
@@ 251,7 251,7 @@ the package named PACKAGE-NAME."
              (string-append "https://github.com/" (assq-ref recipe ':repo))))
    ('gitlab (recipe->origin
              (string-append "https://gitlab.com/" (assq-ref recipe ':repo))))
    ('git    (recipe->origin (assq-ref recipe ':repo)))
    ('git    (recipe->origin (assq-ref recipe ':url)))
    ;; XXX: if we're not using melpa then this stops us printing a warning
    (#f      #f)
    (_       (warning (G_ "\