all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Axel <grafov@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: zsh and fish missed in /etc/shells?
Date: Wed, 11 Mar 2015 02:49:23 +0300	[thread overview]
Message-ID: <CAJpGxxDwfxph1zT_kpwydBmc-n7WEYtg6oCh3Pa+j2+YeTeO5A@mail.gmail.com> (raw)
In-Reply-To: <CAJpGxxAvVt4wA6=CL2CdXhsrrF_t9hAH3hYoVmxQRv+3tzdiHA@mail.gmail.com>

I found tcsh in packages list and maybe missed some other shells.
Seems like we need more general solution than patch proposed by me.
Also maybe merge all shells to a new common package "gnu shells"
instead of separate packages?

2015-03-11 1:30 GMT+03:00 Axel <grafov@gmail.com>:
> Thank you for explanation, I installed these packages system wide and
> got symbolic links. I prepared the patch for gnu/system.scm but I
> unsure about the way I used to check packages availability
> (find-packages-by-name). I see only the problem when one user
> installed the package and other don't — the new shell will be added to
> the list anyway. But I not found how to check that package was
> installed system wide.
>
> And generally should we check that shells really installed or just
> unconditionally add paths to /etc/shells? I will modify patch then.
>
>
>
> 2015-03-09 11:59 GMT+03:00 Ludovic Courtès <ludo@gnu.org>:
>> Axel <grafov@gmail.com> skribis:
>>
>>> Could we append /etc/shells with `zsh` or `fish` paths after these
>>> shells installed in the system?
>>
>> Sure!  Would you like to submit a patch?  This is in gnu/system.scm.
>>
>>> And I think these shells should be linked to
>>> /run/current-system/profile/bin/ as `bash` does.
>>
>> To do that, all you need to do is to add them to the ‘packages’ field of
>> the ‘operating-system’ declaration:
>>
>>   (operating-system
>>     ;; ...
>>     (packages (cons* fish zsh %base-packages)))
>>
>> Thanks,
>> Ludo’.
>
>
>
> --
> Александр Графов



-- 
Александр Графов

  reply	other threads:[~2015-03-10 23:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-09  2:33 zsh and fish missed in /etc/shells? Axel
2015-03-09  8:59 ` Ludovic Courtès
2015-03-10 22:30   ` Axel
2015-03-10 23:49     ` Axel [this message]
2015-03-11  9:43     ` Ludovic Courtès
2015-03-11 12:42       ` Axel
2015-03-12 20:29         ` 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=CAJpGxxDwfxph1zT_kpwydBmc-n7WEYtg6oCh3Pa+j2+YeTeO5A@mail.gmail.com \
    --to=grafov@gmail.com \
    --cc=guix-devel@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.