guix-commits
[Top][All Lists]
Advanced

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

01/01: Revert "build-self: Let HOME pass through the execution environme


From: guix-commits
Subject: 01/01: Revert "build-self: Let HOME pass through the execution environment."
Date: Sat, 11 May 2019 17:35:56 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit cbe7c99e711ae1f7f7228d1fa35ff61a44e61f82
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Sat May 11 23:34:42 2019 +0200

    Revert "build-self: Let HOME pass through the execution environment."
    
    This reverts commit 48d498c2c3984784336b27ba5e261319f3ac6a3a.
    It breaks ‘guix pull’.
---
 build-aux/build-self.scm | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/build-aux/build-self.scm b/build-aux/build-self.scm
index 8eb6162..1ddd223 100644
--- a/build-aux/build-self.scm
+++ b/build-aux/build-self.scm
@@ -399,7 +399,6 @@ files."
   (mlet %store-monad ((build  (build-program source version guile-version
                                              #:pull-version pull-version))
                       (system (if system (return system) (current-system)))
-                      (home   (getenv "HOME"))
 
                       ;; Note: Use the deprecated names here because the
                       ;; caller might be Guix <= 0.16.0.
@@ -420,9 +419,6 @@ files."
                          ;; $GUILE_LOAD_PATH & co.
                          (with-clean-environment
                           (setenv "GUILE_WARN_DEPRECATED" "no") ;be quiet and 
drive
-                          (when home
-                            ;; Inherit HOME so that 'xdg-directory' works.
-                            (setenv "HOME" home))
                           (open-pipe* OPEN_READ
                                       (derivation->output-path build)
                                       source system version



reply via email to

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