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
|
@ -108,8 +108,7 @@ within a Git checkout."
|
|||
"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 New Issue