From: zimoun <zimon.toutoune@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 43744@debbugs.gnu.org
Subject: bug#43744: guix-install.sh should do more first-time setup
Date: Fri, 2 Oct 2020 19:41:36 +0200 [thread overview]
Message-ID: <CAJ3okZ1t0vXWKFXg0s3C6=vwRwVtUcn9-pku8+CwcDp+tiCmbQ@mail.gmail.com> (raw)
In-Reply-To: <87362yt99e.fsf@gnu.org>
Hi,
On Thu, 1 Oct 2020 at 14:35, Ludovic Courtès <ludo@gnu.org> wrote:
> 1. Installing Bash and Zsh completion files globally (actually making
> them a symlink to
> /var/guix/profiles/per-user/root/current-guix/etc/…).
> There seems to be +/- a cross-distro conventional directory to
> collect those, for example /etc/bash_completion.d, no? The script
> could create that symlink, perhaps asking the user to confirm.
Done in patch 1/2 #43769 [1].
> 2. Adding the following lines to /etc/profile (taken from Guix System):
>
> --8<---------------cut here---------------start------------->8---
> # Arrange so that ~/.config/guix/current comes first.
> for profile in "$HOME/.guix-profile" "$HOME/.config/guix/current"
> do
> if [ -f "$profile/etc/profile" ]
> then
> # Load the user profile's settings.
> GUIX_PROFILE="$profile" ; \
> . "$profile/etc/profile"
> else
> # At least define this one so that basic things just work
> # when the user installs their first package.
> export PATH="$profile/bin:$PATH"
> fi
> done
> --8<---------------cut here---------------end--------------->8---
Hum? It looks like 'sys_create_init_profile'. I have not checked the
current order but maybe that's only that.
> The user should be explicitly asked whether they want this change
> to be made.
Currently, 'sys_create_init_profile' is simply run without asking.
> 3. It could check “ps aux | grep nscd” and install nscd using the host
> distro package manager if needed, or at least suggest doing it.
Done in patch 2/2 #43769 [1].
[1] <http://issues.guix.gnu.org/issue/43769>
All the best,
simon
next prev parent reply other threads:[~2020-10-02 17:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-01 12:34 bug#43744: guix-install.sh should do more first-time setup Ludovic Courtès
2020-10-02 17:41 ` zimoun [this message]
2020-10-21 17:34 ` zimoun
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAJ3okZ1t0vXWKFXg0s3C6=vwRwVtUcn9-pku8+CwcDp+tiCmbQ@mail.gmail.com' \
--to=zimon.toutoune@gmail.com \
--cc=43744@debbugs.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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).