Subject: bug#29706: GuixSD: Please add the ability to change shells for root

From: [email-masked] (Ludovic Courtès)
Date: Tue, 19 Dec 2017 18:16:27 +0100

Hello,

BJH2017 <[email-masked]> skribis:

> Ya I do have %base-user-accounts in my config file here is what I had for
> user accounts in full:
>
>   (users (cons
>               (user-account
>                 (name "root")
>                 (uid 0)
>                 (group "root")
>                 (supplementary-groups '("home-directory"))
>                 (home-directory "/root")
>                 (shell (file-append zsh "/bin/zsh")))
>                (user-account
>                 (name "fusion809")
>                 (comment "Brenton Horne")
>                 (group "users")
>                 (supplementary-groups '("wheel" "netdev"
>                                         "audio" "video"))
>                 (home-directory "/home/fusion809")
> (shell "/run/current-system/profile/bin/zsh"))
>                %base-user-accounts))

Here ‘cons’ is given three arguments.  You should use ‘cons*’ instead.
To do that you’ll also need to add this line to the top of your file:

  (use-modules (srfi srfi-1))  ;for 'cons*'

HTH,
Ludo’.