mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
import: elpa: Support NonGNU ELPA.
* guix/import/elpa.scm (elpa-url): Add NonGNU ELPA URL. * doc/guix.texi (Invoking guix import): Document it. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
b8b56badd3
commit
af4fa7c00c
2 changed files with 6 additions and 0 deletions
|
@ -11605,6 +11605,10 @@ contained in the GnuPG keyring at
|
|||
@code{emacs} package (@pxref{Package Installation, ELPA package
|
||||
signatures,, emacs, The GNU Emacs Manual}).
|
||||
|
||||
@item
|
||||
@uref{https://elpa.nongnu.org/nongnu/, NonGNU}, selected by the
|
||||
@code{nongnu} identifier.
|
||||
|
||||
@item
|
||||
@uref{https://stable.melpa.org/packages, MELPA-Stable}, selected by the
|
||||
@code{melpa-stable} identifier.
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
;;; Copyright © 2018 Oleg Pykhalov <go.wigust@gmail.com>
|
||||
;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
|
||||
;;; Copyright © 2020 Ricardo Wurmus <rekado@elephly.net>
|
||||
;;; Copyright © 2021 Xinglu Chen <public@yoctocell.xyz>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -80,6 +81,7 @@ (define* (elpa-url #:optional (repo 'gnu))
|
|||
(let ((elpa-archives
|
||||
'((gnu . "https://elpa.gnu.org/packages")
|
||||
(gnu/http . "http://elpa.gnu.org/packages") ;for testing
|
||||
(nongnu . "https://elpa.nongnu.org/nongnu")
|
||||
(melpa-stable . "https://stable.melpa.org/packages")
|
||||
(melpa . "https://melpa.org/packages"))))
|
||||
(assq-ref elpa-archives repo)))
|
||||
|
|
Loading…
Reference in a new issue