mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-23 02:59:17 -05:00
system: Check whether ~/.guix-profile/etc/profile exists.
* gnu/system.scm (etc-directory)[profile]: Check for ~/.guix-profile/etc/profile rather than just ~/.guix-profile.
This commit is contained in:
parent
dd4a86207e
commit
507c71d629
1 changed files with 1 additions and 1 deletions
|
@ -484,7 +484,7 @@ (define* (etc-directory #:key
|
|||
# Prepend setuid programs.
|
||||
export PATH=/run/setuid-programs:$PATH
|
||||
|
||||
if [ -d \"$HOME/.guix-profile\" ]
|
||||
if [ -f \"$HOME/.guix-profile/etc/profile\" ]
|
||||
then
|
||||
# Load the user profile's settings.
|
||||
GUIX_PROFILE=\"$HOME/.guix-profile\" \\
|
||||
|
|
Loading…
Reference in a new issue