diff options
| author | Janneke Nieuwenhuizen <janneke@gnu.org> | 2023-04-22 09:58:48 +0200 |
|---|---|---|
| committer | Janneke Nieuwenhuizen <janneke@gnu.org> | 2025-03-14 12:53:31 +0100 |
| commit | 2b6017dd0b031e43de7e66b3e1f3f331c0ab712c (patch) | |
| tree | a1a91de30a29b711c366b4f2a6d807db978f9952 /gnu | |
| parent | 92124591eedf27e988c84f75acd4b4d99ff43122 (diff) | |
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
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/system.scm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gnu/system.scm b/gnu/system.scm index 8df871f2552..0d98e5a0362 100644 --- a/gnu/system.scm +++ b/gnu/system.scm | |||
| @@ -1089,8 +1089,11 @@ then | |||
| 1089 | export `cat /etc/environment | cut -d= -f1` | 1089 | export `cat /etc/environment | cut -d= -f1` |
| 1090 | fi | 1090 | fi |
| 1091 | 1091 | ||
| 1092 | # Arrange so that ~/.config/guix/current comes first. | 1092 | # Arrange so that ~/.config/guix/current comes first, |
| 1093 | for profile in \"$HOME/.guix-profile\" \"$HOME/.config/guix/current\" | 1093 | # and guix-home comes before guix-profile. |
| 1094 | for profile in \"$HOME/.guix-profile\" \\ | ||
| 1095 | \"$HOME/.guix-home/profile\" \\ | ||
| 1096 | \"$HOME/.config/guix/current\" | ||
| 1094 | do | 1097 | do |
| 1095 | if [ -f \"$profile/etc/profile\" ] | 1098 | if [ -f \"$profile/etc/profile\" ] |
| 1096 | then | 1099 | then |
