describe: Canonicalize the profile.

Fixes a regression introduced in
795d430d90 whereby 'guix describe' would
no longer display the generation number of ~/.config/guix/current.

* guix/scripts/describe.scm (guix-describe): Call 'canonicalize-profile'.
This commit is contained in:
Ludovic Courtès 2018-10-14 21:25:46 +02:00
parent 89f9df6cfd
commit e0caff9ed0
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -158,4 +158,4 @@ (define (guix-describe . args)
(#f
(display-checkout-info format))
(profile
(display-profile-info profile format))))))
(display-profile-info (canonicalize-profile profile) format))))))