[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/05: guix describe: Display information about the current generation.
From: |
Ludovic Courtès |
Subject: |
01/05: guix describe: Display information about the current generation. |
Date: |
Fri, 7 Sep 2018 11:59:36 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit da34a19f3af425b5596c09fb388f0a2ee04d4bba
Author: Ludovic Courtès <address@hidden>
Date: Fri Sep 7 14:19:42 2018 +0200
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.
---
guix/scripts/describe.scm | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/guix/scripts/describe.scm b/guix/scripts/describe.scm
index 46feea2..fdff07d 100644
--- a/guix/scripts/describe.scm
+++ b/guix/scripts/describe.scm
@@ -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