mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-10 08:30:39 +02:00
gnu: system: Cater for Guix Home in PATH.
In <https://issues.guix.gnu.org/63009> it was promised to be pushed to master, but that didn't seem to have happened. This resolves that promise. * gnu/system.scm (operating-system-etc-service): Also add a user's <guix-home>/profile/bin directory to PATH, before <guix-profile>/bin. Change-Id: Ibd2866153a211585c4981293027544557f8fa06c
This commit is contained in:
parent
92124591ee
commit
2b6017dd0b
1 changed files with 5 additions and 2 deletions
|
@ -1089,8 +1089,11 @@ then
|
|||
export `cat /etc/environment | cut -d= -f1`
|
||||
fi
|
||||
|
||||
# Arrange so that ~/.config/guix/current comes first.
|
||||
for profile in \"$HOME/.guix-profile\" \"$HOME/.config/guix/current\"
|
||||
# Arrange so that ~/.config/guix/current comes first,
|
||||
# and guix-home comes before guix-profile.
|
||||
for profile in \"$HOME/.guix-profile\" \\
|
||||
\"$HOME/.guix-home/profile\" \\
|
||||
\"$HOME/.config/guix/current\"
|
||||
do
|
||||
if [ -f \"$profile/etc/profile\" ]
|
||||
then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue