all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Konrad Hinsen <konrad.hinsen@fastmail.net>
Cc: 52891@debbugs.gnu.org
Subject: [bug#52891] [PATCH] guix-install.sh: Run guix.sh script in /etc/profile.d last.
Date: Fri, 14 Jan 2022 09:27:17 +0100	[thread overview]
Message-ID: <875yqm67tm.fsf@gnu.org> (raw)
In-Reply-To: <m1lf02qyf0.fsf@fastmail.net> (Konrad Hinsen's message of "Thu, 30 Dec 2021 09:39:31 +0100")

Hi Konrad,

Konrad Hinsen <konrad.hinsen@fastmail.net> skribis:

> * etc/guix-install.sh: Rename /etc/profile.d/guix.sh to zzz-guix.sh.
>
> This script refers to environment variables set by the host distribution.
> They may be set in other scripts in /etc/profile.d, which must therefore
> be run first.
> Example: in Ubuntu 20.04, XDG_DATA_DIRS is set in
> /etc/profile.d/xdg_dirs_desktop_session.sh

[...]

> -    cat <<"EOF" > /etc/profile.d/guix.sh
> +    cat <<"EOF" > /etc/profile.d/zzz-guix.sh

Does anybody have objections, such as distros where this would not work?

Otherwise let’s apply it in time for the upcoming release.

Thanks,
Ludo’.




  reply	other threads:[~2022-01-14  8:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-30  8:39 [bug#52891] [PATCH] guix-install.sh: Run guix.sh script in /etc/profile.d last Konrad Hinsen
2022-01-14  8:27 ` Ludovic Courtès [this message]
2022-11-08  9:58   ` bug#52891: " Mathieu Othacehe

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=875yqm67tm.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=52891@debbugs.gnu.org \
    --cc=konrad.hinsen@fastmail.net \
    /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.