GNU bug report logs - #77035
[PATCH 0/2] home: setup-environment: Avoid prepending duplicated PATH.

Previous Next

Package: guix-patches;

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

Date: Sat, 15 Mar 2025 13:24:02 UTC

Severity: normal

Tags: patch

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

Full log


Message #29 received at 77035 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Hilton Chain <hako <at> ultrarare.space>
Cc: 77035 <at> debbugs.gnu.org
Subject: Re: [bug#77035] [PATCH v2 1/3] system: /etc/profile: Take care of
 all default profiles.
Date: Tue, 01 Apr 2025 14:25:59 +0200
Hi,

Hilton Chain <hako <at> ultrarare.space> skribis:

> * gnu/system.scm (operating-system-etc-service)[/etc/profile]: Merge search
> paths.
> Take care of all default profiles.
> Address some issues reported by ‘shellcheck’.
> * gnu/system/shadow.scm (%default-bash-profile): Remove duplicated exports.
>
> Change-Id: I0e14d7c0266742e0abf07779e501de0e257c1329

I’m afraid there are too many changes, mostly unrelated here, and mostly
not covered by the commit log.  :-)

Could you split it somewhat and explain?

> +# Merge search paths and set up environment for all default profiles.
> +eval \"$(/run/current-system/profile/bin/guix package \\
> +  --search-paths=prefix \\
> +  --profile=\"$HOME/.config/guix/current\" \\
> +  --profile=\"$HOME/.guix-profile\" \\
> +  --profile=\"$HOME/.guix-home/profile\" \\
> +  --profile=/run/current-system/profile)\"

FWIW, this (invoking ‘guix package’ from /etc/profile) was explicitly
rejected back then:

  https://issues.guix.gnu.org/20255#32

So at least let’s not address it in the middle of other changes.

Thanks,
Ludo’.




This bug report was last modified 73 days ago.

Previous Next


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