all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: BJH2017 <brentonhorne77@gmail.com>
To: 29706@debbugs.gnu.org
Subject: bug#29706: GuixSD: Please add the ability to change shells for root
Date: Wed, 20 Dec 2017 01:02:02 +1000	[thread overview]
Message-ID: <CANb+58KT8HzksVpktAPtzKkv9yKz7mfdmnEpXrGUMzWZ-q7TiQ@mail.gmail.com> (raw)
In-Reply-To: <8737466a6r.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1794 bytes --]

(thought I had CC'ed the group with my last comment but unfortunately gmail
doesn't do this by default, sorry)

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))

guessing the problem here is that I have two user-account fields?


On 20 December 2017 at 00:53, Ludovic Courtès <ludo@gnu.org> wrote:

> 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’.
>

[-- Attachment #2: Type: text/html, Size: 2948 bytes --]

  reply	other threads:[~2017-12-19 15:03 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
2017-12-19 15:02       ` BJH2017 [this message]
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=CANb+58KT8HzksVpktAPtzKkv9yKz7mfdmnEpXrGUMzWZ-q7TiQ@mail.gmail.com \
    --to=brentonhorne77@gmail.com \
    --cc=29706@debbugs.gnu.org \
    /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.