install: Add nvi to the image.

* gnu/system/install.scm (installation-os)[packages]: Add NVI.
* doc/guix.texi (Proceeding with the Installation): Mention it.
This commit is contained in:
Ludovic Courtès 2016-08-01 23:08:48 +02:00
parent d92e23dc9d
commit a8cb87abe9
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
2 changed files with 5 additions and 2 deletions

View File

@ -6394,8 +6394,9 @@ builds to @file{/gnu/store} which, initially, is an in-memory file system.
Next, you have to edit a file and Next, you have to edit a file and
provide the declaration of the operating system to be installed. To provide the declaration of the operating system to be installed. To
that end, the installation system comes with two text editors: GNU nano that end, the installation system comes with three text editors: GNU nano
(@pxref{Top,,, nano, GNU nano Manual}), and GNU Zile, an Emacs clone. (@pxref{Top,,, nano, GNU nano Manual}), GNU Zile (an Emacs clone), and
nvi (a clone of the original BSD @command{vi} editor).
We strongly recommend storing that file on the target root file system, say, We strongly recommend storing that file on the target root file system, say,
as @file{/mnt/etc/config.scm}. Failing to do that, you will have lost your as @file{/mnt/etc/config.scm}. Failing to do that, you will have lost your
configuration file once you have rebooted into the newly-installed system. configuration file once you have rebooted into the newly-installed system.

View File

@ -35,6 +35,7 @@
#:use-module (gnu packages grub) #:use-module (gnu packages grub)
#:use-module (gnu packages texinfo) #:use-module (gnu packages texinfo)
#:use-module (gnu packages compression) #:use-module (gnu packages compression)
#:use-module (gnu packages nvi)
#:use-module (ice-9 match) #:use-module (ice-9 match)
#:use-module (srfi srfi-26) #:use-module (srfi srfi-26)
#:export (self-contained-tarball #:export (self-contained-tarball
@ -401,6 +402,7 @@ Use Alt-F2 for documentation.
;; space; furthermore util-linux's fdisk is already ;; space; furthermore util-linux's fdisk is already
;; available here, so we keep that. ;; available here, so we keep that.
bash-completion bash-completion
nvi ;:wq!
%base-packages)))) %base-packages))))
;; Return it here so 'guix system' can consume it directly. ;; Return it here so 'guix system' can consume it directly.