diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-10-21 12:25:06 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-10-21 14:44:38 +0200 |
commit | a7aac936253b7def133b935a434e692b00eccab5 (patch) | |
tree | 3b8b425fcc940979142e399ffbe8f3209d14963b /guix/scripts/refresh.scm | |
parent | 218622a73794c3b0d0d81db9176a59125c58df41 (diff) | |
download | gnu-guix-a7aac936253b7def133b935a434e692b00eccab5.tar gnu-guix-a7aac936253b7def133b935a434e692b00eccab5.tar.gz |
import: elpa: Add updater.
* guix/import/elpa.scm (latest-release, package-from-gnu.org?): New
procedures.
(%elpa-updater): New variable.
* guix/scripts/refresh.scm (%updaters): Add %ELPA-UPDATER.
Diffstat (limited to 'guix/scripts/refresh.scm')
-rw-r--r-- | guix/scripts/refresh.scm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/guix/scripts/refresh.scm b/guix/scripts/refresh.scm index 8d4f26e3b0..8e461ce380 100644 --- a/guix/scripts/refresh.scm +++ b/guix/scripts/refresh.scm @@ -27,6 +27,7 @@ #:use-module (guix packages) #:use-module (guix upstream) #:use-module ((guix gnu-maintenance) #:select (%gnu-updater)) + #:use-module (guix import elpa) #:use-module (guix gnupg) #:use-module (gnu packages) #:use-module ((gnu packages commencement) #:select (%final-inputs)) @@ -131,8 +132,9 @@ specified with `--select'.\n")) ;;; (define %updaters - ;; List of "updaters" used by default. - (list %gnu-updater)) + ;; List of "updaters" used by default. They are consulted in this order. + (list %gnu-updater + %elpa-updater)) (define* (update-package store package #:key (key-download 'interactive)) "Update the source file that defines PACKAGE with the new version. |