guix system: Don't warn about old distros for "guix system init".
* guix/scripts/system.scm (process-action): Don't call 'warn-about-old-distro' when ACTION is 'init' or 'build'.
This commit is contained in:
parent
092c58e745
commit
8a29dc07a4
|
@ -847,8 +847,10 @@ resulting from command-line parsing."
|
||||||
((shepherd-graph)
|
((shepherd-graph)
|
||||||
(export-shepherd-graph os (current-output-port)))
|
(export-shepherd-graph os (current-output-port)))
|
||||||
(else
|
(else
|
||||||
(warn-about-old-distro #:suggested-command
|
(unless (memq action '(build init))
|
||||||
"guix system reconfigure")
|
(warn-about-old-distro #:suggested-command
|
||||||
|
"guix system reconfigure"))
|
||||||
|
|
||||||
(perform-action action os
|
(perform-action action os
|
||||||
#:dry-run? dry?
|
#:dry-run? dry?
|
||||||
#:derivations-only? (assoc-ref opts
|
#:derivations-only? (assoc-ref opts
|
||||||
|
|
Loading…
Reference in New Issue