all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tanguy Le Carrour <tanguy@bioneland.org>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: help-guix@gnu.org
Subject: Re: Changing user-account's shell
Date: Thu, 18 Apr 2019 22:51:31 +0200	[thread overview]
Message-ID: <20190418205131.mthcnvo3dodf3pvx@melmoth> (raw)
In-Reply-To: <87pnpjqsmg.fsf@gnu.org>

Le 04/18, Ludovic Courtès a écrit :
> Tanguy Le Carrour <tanguy@bioneland.org> skribis:
> > I'm trying to set my user's shell through the Guix configuration system,
> > but without success.
> > […]
> >       (users (cons (user-account
> >                     ;; ...
> >                     (shell (file-append fish "/bin/fish")))
> >                %base-user-accounts))
> > […] 
> Could you tell us what command you run and what error message you got?
> At first sight this looks good to me.

I run `sudo -E guix system reconfigure my_config.scm` and I don't get
any error message.

The "funny" thing is, if I add a second user to the system, setting
Fish as its default shell, it's added with Fish as its default shell!

If I remove `(shell (file-append fish "/bin/fish"))` from the newly
created account and re-run `guix system reconfigure`, the shell is still
Fish.

If I add `(shell (file-append bash "/bin/bash"))` to the newly
created account and re-run `guix system reconfigure`, the shell is still
Fish.

Bug or feature?!

Regards

-- 
Tanguy

  reply	other threads:[~2019-04-18 20:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-17 19:59 Changing user-account's shell Tanguy Le Carrour
2019-04-18 14:45 ` Ludovic Courtès
2019-04-18 20:51   ` Tanguy Le Carrour [this message]
2019-04-19 12:04     ` Ludovic Courtès
2019-04-19 21:30       ` Tanguy Le Carrour
     [not found] ` <87d0lkz5jw.fsf@ambrevar.xyz>
2019-04-18 20:22   ` Tanguy Le Carrour
2019-04-19  6:53     ` Pierre Neidhardt
2019-04-19 21:24       ` Tanguy Le Carrour

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=20190418205131.mthcnvo3dodf3pvx@melmoth \
    --to=tanguy@bioneland.org \
    --cc=help-guix@gnu.org \
    --cc=ludo@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.