summary refs log tree commit diff
path: root/gnu/home
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-01-23 16:21:03 +0100
committerLudovic Courtès <ludo@gnu.org>2022-01-28 23:14:44 +0100
commit23ccfd3840d957e28fdbe3e3af9f588320c04fe3 (patch)
treee56b407fe379d0041e9b5bdb8e1fd01ae9a5f71b /gnu/home
parent50f7402c6aa7b74645cf0db3fd1a965db3fd6ed2 (diff)
downloadguix-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/home')
-rw-r--r--gnu/home/services.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/home/services.scm b/gnu/home/services.scm
index 2a3cb44952..1c860d7b01 100644
--- a/gnu/home/services.scm
+++ b/gnu/home/services.scm
@@ -43,6 +43,7 @@
             home-provenance-service-type
 
             fold-home-service-types
+            home-provenance
 
             %initialize-gettext)