mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18: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),
|
||||
in the format specified by FMT."
|
||||
(define number
|
||||
(match (profile-generations profile)
|
||||
((_ ... last) last)))
|
||||
(generation-number profile))
|
||||
|
||||
(match fmt
|
||||
('human
|
||||
|
|
Loading…
Reference in a new issue