GNU bug report logs - #29706
GuixSD: Please add the ability to change shells for root

Previous Next

Package: guix;

Reported by: BJH2017 <brentonhorne77 <at> gmail.com>

Date: Thu, 14 Dec 2017 08:39:02 UTC

Severity: normal

Full log


Message #11 received at 29706 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: BJH2017 <brentonhorne77 <at> gmail.com>
Cc: 29706 <at> debbugs.gnu.org
Subject: Re: bug#29706: GuixSD: Please add the ability to change shells for
 root
Date: Tue, 19 Dec 2017 15:53:32 +0100
Please always keep the list Cc’d.

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




This bug report was last modified 7 years and 176 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.