Please always keep the list Cc’d.

BJH2017 <brentonhorn...@gmail.com> 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