Skip to content
Snippets Groups Projects
Commit 507c71d6 authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

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.
parent dd4a8620
No related branches found
No related tags found
No related merge requests found
...@@ -484,7 +484,7 @@ (define* (etc-directory #:key ...@@ -484,7 +484,7 @@ (define* (etc-directory #:key
# Prepend setuid programs. # Prepend setuid programs.
export PATH=/run/setuid-programs:$PATH export PATH=/run/setuid-programs:$PATH
if [ -d \"$HOME/.guix-profile\" ] if [ -f \"$HOME/.guix-profile/etc/profile\" ]
then then
# Load the user profile's settings. # Load the user profile's settings.
GUIX_PROFILE=\"$HOME/.guix-profile\" \\ GUIX_PROFILE=\"$HOME/.guix-profile\" \\
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment