mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
import: Order importers alphabetically in ‘--help’ output.
I'd rather keep the list sorted than call SORT at run time. We can still switch if committers remain incorrigible. * guix/scripts/import.scm (importers): Sort. Change-Id: If358b2d5de2912a33989d776476e9cf4d0b80537
This commit is contained in:
parent
f88a946249
commit
a3c0f245be
1 changed files with 5 additions and 3 deletions
|
@ -47,9 +47,11 @@ (define %standard-import-options '())
|
|||
;;; Entry point.
|
||||
;;;
|
||||
|
||||
(define importers '("gnu" "pypi" "cpan" "hackage" "stackage" "egg" "elpa"
|
||||
"gem" "go" "cran" "crate" "texlive" "json" "opam"
|
||||
"minetest" "elm" "hexpm" "composer" "npm-binary"))
|
||||
;; The list of all known importers. These are printed in order by SHOW-HELP, so
|
||||
;; please keep this list alphabetically sorted!
|
||||
(define importers '("composer" "cpan" "cran" "crate" "egg" "elm" "elpa"
|
||||
"gem" "gnu" "go" "hackage" "hexpm" "json" "minetest"
|
||||
"npm-binary" "opam" "pypi" "stackage" "texlive"))
|
||||
|
||||
(define (resolve-importer name)
|
||||
(let ((module (resolve-interface
|
||||
|
|
Loading…
Reference in a new issue