summaryrefslogtreecommitdiff
path: root/gnu/installer.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-08-02 22:00:36 +0200
committerLudovic Courtès <ludo@gnu.org>2022-08-08 11:54:24 +0200
commitcd1a98b928be9602ebf103744164ace7bfcae22c (patch)
tree57f6430046136a8521c98b931b3b42558cc4e362 /gnu/installer.scm
parent445a0d134ce735577d1e22f210c2e5ceafc56762 (diff)
installer: Render the final configuration with (guix read-print).
* gnu/installer.scm (module-to-import?): Return #t for (guix read-print). * gnu/installer/steps.scm (configuration->file): Use 'pretty-print-with-comments/splice' instead of 'for-each' and 'pretty-print'.
Diffstat (limited to 'gnu/installer.scm')
-rw-r--r--gnu/installer.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/installer.scm b/gnu/installer.scm
index 415f5a7af78..8a6e604fa52 100644
--- a/gnu/installer.scm
+++ b/gnu/installer.scm
@@ -1,6 +1,6 @@
1;;; GNU Guix --- Functional package management for GNU 1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2018, 2020 Mathieu Othacehe <m.othacehe@gmail.com> 2;;; Copyright © 2018, 2020 Mathieu Othacehe <m.othacehe@gmail.com>
3;;; Copyright © 2019, 2020 Ludovic Courtès <ludo@gnu.org> 3;;; Copyright © 2019, 2020, 2022 Ludovic Courtès <ludo@gnu.org>
4;;; Copyright © 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr> 4;;; Copyright © 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
5;;; Copyright © 2020 Florian Pelz <pelzflorian@pelzflorian.de> 5;;; Copyright © 2020 Florian Pelz <pelzflorian@pelzflorian.de>
6;;; 6;;;
@@ -63,6 +63,7 @@
63 (('gnu 'installer _ ...) #t) 63 (('gnu 'installer _ ...) #t)
64 (('gnu 'build _ ...) #t) 64 (('gnu 'build _ ...) #t)
65 (('guix 'build _ ...) #t) 65 (('guix 'build _ ...) #t)
66 (('guix 'read-print) #t)
66 (_ #f))) 67 (_ #f)))
67 68
68(define not-config? 69(define not-config?