diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-01-23 16:21:03 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-01-28 23:14:44 +0100 |
commit | 23ccfd3840d957e28fdbe3e3af9f588320c04fe3 (patch) | |
tree | e56b407fe379d0041e9b5bdb8e1fd01ae9a5f71b /gnu.scm | |
parent | 50f7402c6aa7b74645cf0db3fd1a965db3fd6ed2 (diff) | |
download | guix-23ccfd3840d957e28fdbe3e3af9f588320c04fe3.tar guix-23ccfd3840d957e28fdbe3e3af9f588320c04fe3.tar.gz |
home: 'reconfigure' checks for potential downgrades.
* guix/scripts/home.scm (show-help, %options): Add "--allow-downgrades".
(%default-options): Remove 'build-mode'; add 'validate-reconfigure'.
(perform-action): Add #:validate-reconfigure. Call
'check-forward-update' when ACTION is 'reconfigure.
(process-action): Pass #:validate-reconfigure to 'perform-action'.
* gnu/home/services.scm (home-provenance): Export.
* doc/guix.texi (Invoking guix home): Document '--allow-downgrades'.
Diffstat (limited to 'gnu.scm')
0 files changed, 0 insertions, 0 deletions