summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-10-14 21:25:46 +0200
committerLudovic Courtès <ludo@gnu.org>2018-10-14 23:48:49 +0200
commite0caff9ed0c2238eafba63a65f01d96eeaf02fab (patch)
treefcafc8f7099a31817795a1182db94c6985d92457
parent89f9df6cfd75d5180bd135c2b14fbfdc0eb6171b (diff)
downloadguix-e0caff9ed0c2238eafba63a65f01d96eeaf02fab.tar.gz
describe: Canonicalize the profile.
Fixes a regression introduced in
795d430d90e41eb172315bfccf79c9f13fc0ebfa whereby 'guix describe' would
no longer display the generation number of ~/.config/guix/current.

* guix/scripts/describe.scm (guix-describe): Call 'canonicalize-profile'.
-rw-r--r--guix/scripts/describe.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/scripts/describe.scm b/guix/scripts/describe.scm
index c1a20fe26c..e59502076c 100644
--- a/guix/scripts/describe.scm
+++ b/guix/scripts/describe.scm
@@ -158,4 +158,4 @@ in the format specified by FMT."
         (#f
          (display-checkout-info format))
         (profile
-         (display-profile-info profile format))))))
+         (display-profile-info (canonicalize-profile profile) format))))))