GNU bug report logs -
#77035
[PATCH 0/2] home: setup-environment: Avoid prepending duplicated PATH.
Previous Next
Full log
View this message in rfc822 format
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.