diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-06-22 16:42:46 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-06-22 16:42:46 +0200 |
commit | b15669f37daecd9d06e0d4b3c864ecdbb81c9b9c (patch) | |
tree | fa893fb209bc52b6c0201a6a1cb43bd1e03e6c6b /gnu | |
parent | ee26820636c2521bb0a15bd960814bafa780635e (diff) | |
download | patches-b15669f37daecd9d06e0d4b3c864ecdbb81c9b9c.tar patches-b15669f37daecd9d06e0d4b3c864ecdbb81c9b9c.tar.gz |
utils: `set-path-environment-variable' calls `unsetenv' for empty values.
* guix/build/utils.scm (set-path-environment-variable): When VALUE is
the empty string, call `unsetenv' instead of `setenv'.
* gnu/packages/guile.scm (guile-2.0)[arguments]: Remove `unsetenv'
trick.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/guile.scm | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm index c4eca3e350..c78ab57915 100644 --- a/gnu/packages/guile.scm +++ b/gnu/packages/guile.scm @@ -142,17 +142,6 @@ extensible. It supports many SRFIs.") `(#:phases (alist-cons-before 'configure 'pre-configure (lambda* (#:key inputs #:allow-other-keys) - ;; By default we end up with GUILE_LOAD_PATH="" and - ;; GUILE_LOAD_COMPILED_PATH="". But that is equivalent to - ;; ".", and breaks the build system when cross-compiling. - ;; Thus, make sure they are unset. - ;; TODO: Eventually fix `set-path-environment-variable' - ;; for that case. - ,@(if (%current-target-system) - '((unsetenv "GUILE_LOAD_PATH") - (unsetenv "GUILE_LOAD_COMPILED_PATH")) - '()) - ;; Tell (ice-9 popen) the file name of Bash. (let ((bash (assoc-ref inputs "bash"))) (substitute* "module/ice-9/popen.scm" |