From 9e86e58d6f77297551c96b6a8aae0a4efadd8eac Mon Sep 17 00:00:00 2001 From: Andrew Tropin Date: Fri, 11 Mar 2022 08:43:04 +0300 Subject: home: symlink-manager: Use existing home-directory symbol. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/home/services/symlink-manager.scm (update-symlinks-script): Use existing home-directory symbol instead of additional getenv call. Signed-off-by: Ludovic Courtès --- gnu/home/services/symlink-manager.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/home') diff --git a/gnu/home/services/symlink-manager.scm b/gnu/home/services/symlink-manager.scm index 767b1bdc01..bce5c85b56 100644 --- a/gnu/home/services/symlink-manager.scm +++ b/gnu/home/services/symlink-manager.scm @@ -185,7 +185,7 @@ #$%initialize-gettext - (let* ((home (string-append (getenv "HOME") "/.guix-home")) + (let* ((home (string-append home-directory "/.guix-home")) (pivot (string-append home ".new")) (new-home (getenv "GUIX_NEW_HOME")) (old-home (getenv "GUIX_OLD_HOME"))) -- cgit v1.2.3