all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: BJH2017 <brentonhorne77@gmail.com>
Cc: 29706@debbugs.gnu.org
Subject: bug#29706: GuixSD: Please add the ability to change shells for root
Date: Tue, 19 Dec 2017 15:53:32 +0100	[thread overview]
Message-ID: <8737466a6r.fsf@gnu.org> (raw)
In-Reply-To: <CANb+58KywakA5fYBQPV6sPrdm5EFAFd3dPKRiDeK-rncTYvrPg@mail.gmail.com> (BJH's message of "Tue, 19 Dec 2017 23:02:51 +1000")

Please always keep the list Cc’d.

BJH2017 <brentonhorne77@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’.

  parent reply	other threads:[~2017-12-19 14:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-14  8:38 bug#29706: GuixSD: Please add the ability to change shells for root BJH2017
2017-12-18 22:18 ` Ludovic Courtès
     [not found]   ` <CANb+58KywakA5fYBQPV6sPrdm5EFAFd3dPKRiDeK-rncTYvrPg@mail.gmail.com>
2017-12-19 14:53     ` Ludovic Courtès [this message]
2017-12-19 15:02       ` BJH2017
2017-12-19 15:26         ` Ricardo Wurmus
2017-12-19 15:34         ` Alex Sassmannshausen
2017-12-19 15:39         ` Leo Famulari
2017-12-19 17:16         ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8737466a6r.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=29706@debbugs.gnu.org \
    --cc=brentonhorne77@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.