~ruther/guix-local

50f4ea18c46ea6e702dbd20841401662ba925f76 — Ludovic Courtès 9 years ago 31f1f59
environment: Deal with single-entry search paths.

This is a followup to fcd75bdbfa99d14363b905afbf914eec20e69df8.

* guix/scripts/environment.scm (create-environment): Check whether
SEPARATOR is #f.
1 files changed, 3 insertions(+), 1 deletions(-)

M guix/scripts/environment.scm
M guix/scripts/environment.scm => guix/scripts/environment.scm +3 -1
@@ 79,7 79,9 @@ existing enviroment variables with additional search paths."
               (let ((current (getenv variable)))
                 (setenv variable
                         (if (and current (not pure?))
                             (string-append value separator current)
                             (if separator
                                 (string-append value separator current)
                                 value)
                             value)))))
            (evaluate-profile-search-paths profile paths))