bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Ludovic Courtès
Subject: bug#29706: GuixSD: Please add the ability to change shells for root
Date: Tue, 19 Dec 2017 15:53:32 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Please always keep the list Cc’d.

BJH2017 <address@hidden> skribis:

> No it doesn't, I have this at the moment:
>
>                 (name "root")
>                 (uid 0)
>                 (group "root")
>                 (home-directory "/root")
>                 (shell (file-append zsh "/bin/zsh")))
>
> and I get the error:
>
> guix system: error: failed to load '/etc/config.scm':
> /etc/config.scm:35:9: /etc/config.scm:35:9: Wrong number of arguments to
> #<procedure cons (_ _)>

‘cons’ adds an element to a list, so it takes two arguments:

  (cons account list)

as in:

  (cons (user-account …) %base-user-accounts)

HTH!

Ludo’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]