mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
guix describe: Display information about the current generation.
* guix/scripts/describe.scm (display-profile-info)[number]: Use the current generation number instead of the last generation number.
This commit is contained in:
parent
2b73d82830
commit
da34a19f3a
1 changed files with 1 additions and 2 deletions
|
@ -108,8 +108,7 @@ (define (display-profile-info profile fmt)
|
||||||
"Display information about PROFILE, a profile as created by (guix channels),
|
"Display information about PROFILE, a profile as created by (guix channels),
|
||||||
in the format specified by FMT."
|
in the format specified by FMT."
|
||||||
(define number
|
(define number
|
||||||
(match (profile-generations profile)
|
(generation-number profile))
|
||||||
((_ ... last) last)))
|
|
||||||
|
|
||||||
(match fmt
|
(match fmt
|
||||||
('human
|
('human
|
||||||
|
|
Loading…
Reference in a new issue