Browse Source

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'.
version-0.13.0
Ludovic Courtès 5 years ago
parent
commit
8a29dc07a4
No known key found for this signature in database GPG Key ID: 90B11993D9AEBB5
  1. 6
      guix/scripts/system.scm

6
guix/scripts/system.scm

@ -847,8 +847,10 @@ resulting from command-line parsing."
((shepherd-graph)
(export-shepherd-graph os (current-output-port)))
(else
(warn-about-old-distro #:suggested-command
"guix system reconfigure")
(unless (memq action '(build init))
(warn-about-old-distro #:suggested-command
"guix system reconfigure"))
(perform-action action os
#:dry-run? dry?
#:derivations-only? (assoc-ref opts

Loading…
Cancel
Save