Subject: bug#35541: Installer does not add %base-packages

From: Ludovic Courtès <[email-masked]>
Date: Sat, 04 May 2019 16:54:23 +0200

"pelzflorian (Florian Pelz)" <[email-masked]> skribis:

> On Sat, May 04, 2019 at 02:40:30PM +0200, Ludovic Courtès wrote:
>> Please tell me what you think!
>> 
>
> It is a good text.  However, I find it more tragic that Xfce and MATE
> do not work than that these commands are missing until installed, but
> it depends on the audience I guess.

Yeah, but note that the Xfce failure is due to this bug (confirmed by
running ‘guix system vm desktop.tmpl’ with the attached patch.)

Thanks,
Ludo’.

diff --git a/gnu/system/examples/desktop.tmpl b/gnu/system/examples/desktop.tmpl
index 3931bad60d..ff6e4e37dd 100644
--- a/gnu/system/examples/desktop.tmpl
+++ b/gnu/system/examples/desktop.tmpl
@@ -45,18 +45,14 @@
   (users (cons (user-account
                 (name "bob")
                 (comment "Alice's brother")
+                (password (crypt "foo" "$6$abc"))
                 (group "users")
                 (supplementary-groups '("wheel" "netdev"
                                         "audio" "video")))
                %base-user-accounts))
 
   ;; This is where we specify system-wide packages.
-  (packages (append (list
-                     ;; for HTTPS access
-                     nss-certs
-                     ;; for user mounts
-                     gvfs)
-                    %base-packages))
+  (packages '())
 
   ;; Add GNOME and Xfce---we can choose at the log-in screen
   ;; by clicking the gear.  Use the "desktop" services, which