mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
etc: teams: List members sorted by name.
* etc/teams.scm.in (list-members): Sort by name. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
This commit is contained in:
parent
70f43c0c2e
commit
ab9e6597f6
1 changed files with 3 additions and 1 deletions
|
@ -530,7 +530,9 @@ (define port* (or port (current-output-port)))
|
|||
prefix
|
||||
(person-name member)
|
||||
(person-email member)))
|
||||
(team-members team)))
|
||||
(sort
|
||||
(team-members team)
|
||||
(lambda (m1 m2) (string<? (person-name m1) (person-name m2))))))
|
||||
|
||||
(define (list-teams)
|
||||
"Print all teams, their scope and their members."
|
||||
|
|
Loading…
Reference in a new issue