1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2018 Mathieu Othacehe <m.othacehe@gmail.com>
4 ;;; This file is part of GNU Guix.
6 ;;; GNU Guix is free software; you can redistribute it and/or modify it
7 ;;; under the terms of the GNU General Public License as published by
8 ;;; the Free Software Foundation; either version 3 of the License, or (at
9 ;;; your option) any later version.
11 ;;; GNU Guix is distributed in the hope that it will be useful, but
12 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 ;;; GNU General Public License for more details.
16 ;;; You should have received a copy of the GNU General Public License
17 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
19 (define-module (gnu installer newt)
20 #:use-module (gnu installer)
21 #:use-module (guix discovery)
22 #:use-module (guix gexp)
23 #:use-module (guix ui)
24 #:export (newt-installer))
30 (dirname (search-path %load-path "guix.scm"))
32 #:warn warn-about-load-error))))
54 #:supported-locales supported-locales
55 #:iso639-languages iso639-languages
56 #:iso3166-territories iso3166-territories)))
60 (run-timezone-page zonetab)))
64 (dirname (search-path %load-path "guix.scm"))
65 "/gnu/installer/aux-files/logo.txt"))
68 #~(run-welcome-page #$(local-file logo)))
72 (run-menu-page steps)))
75 #~(lambda* (#:key models layouts)
76 (run-keymap-page #:models models
83 #~(run-hostname-page))
88 (define newt-installer
94 (exit-error exit-error)
95 (keymap-page keymap-page)
96 (locale-page locale-page)
98 (network-page network-page)
99 (timezone-page timezone-page)
100 (hostname-page hostname-page)
101 (user-page user-page)
102 (welcome-page welcome-page)))