guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: system: Check whether ~/.guix-profile/etc/profile exists.


From: Ludovic Courtès
Subject: 01/02: system: Check whether ~/.guix-profile/etc/profile exists.
Date: Thu, 07 May 2015 07:49:20 +0000

civodul pushed a commit to branch master
in repository guix.

commit 507c71d629d6aacf47e03a94eaf0c6b9ef45c367
Author: Ludovic Courtès <address@hidden>
Date:   Thu May 7 09:43:59 2015 +0200

    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.
---
 gnu/system.scm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gnu/system.scm b/gnu/system.scm
index 104b223..66574c1 100644
--- a/gnu/system.scm
+++ b/gnu/system.scm
@@ -484,7 +484,7 @@ source /run/current-system/profile/etc/profile
 # 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\" \\



reply via email to

[Prev in Thread] Current Thread [Next in Thread]