diff options
author | Ludovic Courtès <ludo@gnu.org> | 2021-05-09 17:22:24 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-05-09 23:46:46 +0200 |
commit | 8a154c29151fc445e8d0364f507f6e200de1e700 (patch) | |
tree | bca633357bf0f0648e35268db00f50b1800b37b8 /gnu/system/vm.scm | |
parent | 9562a2eb6162ea6712fe31529c30002a83313dd8 (diff) | |
download | guix-patches-8a154c29151fc445e8d0364f507f6e200de1e700.tar guix-patches-8a154c29151fc445e8d0364f507f6e200de1e700.tar.gz |
describe: Gracefully handle profiles that lack provenance info.
Fixes <https://bugs.gnu.org/48313>.
Previously, 'current-channels' would return the empty list when
'current-profile' is true but the profile lacks provenance info.
* guix/describe.scm (current-channels)[build-time-metadata]: New
procedure. Call it when 'manifest-entry-channel' returns #f for all of
ENTRIES.
* guix/scripts/describe.scm (guix-describe): When PROFILE is true, pass
third argument to 'display-profile-info'.
Diffstat (limited to 'gnu/system/vm.scm')
0 files changed, 0 insertions, 0 deletions