guix-patches
[Top][All Lists]
Advanced

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

[bug#50304] [PATCH] import: elpa: Support NonGNU ELPA.


From: Xinglu Chen
Subject: [bug#50304] [PATCH] import: elpa: Support NonGNU ELPA.
Date: Tue, 31 Aug 2021 20:17:52 +0200

* guix/import/elpa.scm (elpa-url): Add NonGNU ELPA URL.
* doc/guix.texi (Invoking guix import): Document it.
---
 doc/guix.texi        | 4 ++++
 guix/import/elpa.scm | 2 ++
 2 files changed, 6 insertions(+)

diff --git a/doc/guix.texi b/doc/guix.texi
index 6620f882f5..80fa7366d0 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -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.
diff --git a/guix/import/elpa.scm b/guix/import/elpa.scm
index c0dc5acf51..fb59acc9e3 100644
--- a/guix/import/elpa.scm
+++ b/guix/import/elpa.scm
@@ -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 @@ NAMES (strings)."
   (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)))

base-commit: cc71a54e9f900e905192f794c7bc5346c445e651
-- 
2.33.0








reply via email to

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