GNU bug report logs - #77527
[PATCH v4 5/6] guix-install.sh: Group profile sourcing.

Previous Next

Package: guix-patches;

Reported by: Hilton Chain <hako <at> ultrarare.space>

Date: Fri, 4 Apr 2025 03:24:07 UTC

Severity: normal

Tags: patch

Merged with 77035, 77522, 77523, 77524, 77525, 77526, 77528

Full log


View this message in rfc822 format

From: Liam Hupfer <liam <at> hpfr.net>
To: Hilton Chain <hako <at> ultrarare.space>, 77527 <at> debbugs.gnu.org
Cc: Hilton Chain <hako <at> ultrarare.space>
Subject: [bug#77527] [PATCH v4 5/6] guix-install.sh: Group profile sourcing.
Date: Sat, 19 Apr 2025 15:34:47 -0500
[Message part 1 (text/plain, inline)]
Hi Hilton!

I recently removed Guix Home profile initialization from the
system-level shell profile in bug#76082
(<https://issues.guix.gnu.org/76082>), hence the explicit comment. The
rationale is provided in the cover letter, [[bug#76082] [PATCH 0/9]
Improve profile initialization on foreign distros plus misc
improvements], and commit [[bug#76082] [PATCH 4/9] guix-install.sh: Remove
system-level Guix Home initialization.].

I would advocate against attempting to initialize the Guix Home profile
in the system ‘/etc/profile/’ files (or in Guix System’s equivalent
system-level shell initialization). Guix Home is capable of initializing
itself entirely at the user level. This is the default behavior and
documented in the manual at ‘(guix) Configuring the Shell’. Guix Home
users retain more control over fine-tuning shell initialization this
way. It also keeps search path variables tidy by preventing duplicating
Guix Home initialization at the system and user level.

WDYT?

Thanks!

PS: maybe not so useful if/when the Codeberg migration happens, but
‘(guix) Multiple Patches’ documents handy workarounds for Debbugs’s rather
subpar handling of patch series.

—Liam


[[bug#76082] [PATCH 0/9]
Improve profile initialization on foreign distros plus misc
improvements] <https://yhetil.org/guix/cover.1738814583.git.liam <at> hpfr.net/>

[[bug#76082] [PATCH 4/9] guix-install.sh: Remove
system-level Guix Home initialization.] <https://yhetil.org/guix/e63a2a0b73f6d0147ccb4fe814dd9c6e6ecd14ff.1738815703.git.liam <at> hpfr.net/>

This bug report was last modified 56 days ago.

Previous Next


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