diff options
author | Pierre Neidhardt <mail@ambrevar.xyz> | 2019-01-21 19:37:59 +0100 |
---|---|---|
committer | Pierre Neidhardt <mail@ambrevar.xyz> | 2019-01-23 18:01:16 +0100 |
commit | 907dd32720cf7ae94876c1da2df775f524f5f795 (patch) | |
tree | 41d57085a2543741823ba9fd4533195634bbe41d /gnu/system/examples/vm-image.tmpl | |
parent | ece2fd121866e4f46c5a4be92c6f09b6c1042ea1 (diff) | |
download | patches-907dd32720cf7ae94876c1da2df775f524f5f795.tar patches-907dd32720cf7ae94876c1da2df775f524f5f795.tar.gz |
gnu: Replace all cons* with beginner-friendly (append (list ...)).
* gnu/system/examples/bare-bones.tmpl (services): Do it.
* gnu/system/examples/beaglebone.tmpl (packages): Do it.
(services): Do it.
* gnu/system/examples/desktop.tmpl (packages): Do it.
(services): Do it.
* gnu/system/examples/lightweight-desktop.tmpl (file-systems): Do it.
(packages): Do it.
* gnu/system/examples/vm-image.tmpl (packages): Do it.
Diffstat (limited to 'gnu/system/examples/vm-image.tmpl')
-rw-r--r-- | gnu/system/examples/vm-image.tmpl | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/gnu/system/examples/vm-image.tmpl b/gnu/system/examples/vm-image.tmpl index f149f67113..4d292c1bc6 100644 --- a/gnu/system/examples/vm-image.tmpl +++ b/gnu/system/examples/vm-image.tmpl @@ -24,7 +24,7 @@ partprobe, and then 2) resizing the filesystem with resize2fs.\n")) (timezone "Etc/UTC") (locale "en_US.utf8") -(firmware '()) + (firmware '()) ;; Assuming /dev/sdX is the target hard disk, and "my-root" is ;; the label of the target root file system. @@ -44,10 +44,12 @@ partprobe, and then 2) resizing the filesystem with resize2fs.\n")) (users %base-user-accounts) ;; Globally-installed packages. - (packages (cons* nvi fdisk - grub ; mostly so xrefs to its manual work - parted ; partprobe - %base-packages)) + (packages (append (list nvi fdisk + ;; mostly so xrefs to its manual work + grub + ;; partprobe + parted) + %base-packages)) (services (modify-services %base-services (login-service-type config => |