diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-10-26 23:01:06 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-10-27 00:01:20 +0100 |
commit | 06d45f4566469364b4c1fe6d3c71ecf58f5d4838 (patch) | |
tree | 20704b607a28fb48ee922485e400b353184c3c89 /gnu | |
parent | 3bb168b0997d2ba2ef15e8eef2890582c8a6df9c (diff) | |
download | patches-06d45f4566469364b4c1fe6d3c71ecf58f5d4838.tar patches-06d45f4566469364b4c1fe6d3c71ecf58f5d4838.tar.gz |
profiles: Add generation manipulation procedures.
* guix/scripts/package.scm (delete-generations): Use
'delete-generation*' instead of 'delete-generation'.
(guix-package)[process-actions]: Use 'roll-back*' instead of
'roll-back' and 'switch-to-generation*' instead of
'switch-to-generation'.
(link-to-empty-profile, switch-to-generation,
switch-to-previous-generation, roll-back, delete-generation): Move
to...
* guix/profiles.scm: ... here. Adjust to not print messages and to
return values that can be used by user interfaces.
* guix/ui.scm (display-generation-change, roll-back*,
switch-to-generation*, delete-generation*): New procedures.
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions