guix-commits
[Top][All Lists]
Advanced

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

01/04: guix package: --search-paths mentions $PATH.


From: Ludovic Courtès
Subject: 01/04: guix package: --search-paths mentions $PATH.
Date: Wed, 20 May 2015 10:14:10 +0000

civodul pushed a commit to branch master
in repository guix.

commit 755e1147aa33d1c305bb9db6c5e03cf1063079fc
Author: Ludovic Courtès <address@hidden>
Date:   Wed May 20 11:12:34 2015 +0200

    guix package: --search-paths mentions $PATH.
    
    * guix/scripts/package.scm (search-path-environment-variables): Add $PATH to
      SEARCH-PATHS.
---
 guix/scripts/package.scm |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/guix/scripts/package.scm b/guix/scripts/package.scm
index 15f3e13..300af68 100644
--- a/guix/scripts/package.scm
+++ b/guix/scripts/package.scm
@@ -381,7 +381,9 @@ an output path different than CURRENT-PATH."
 ENTRIES, a list of manifest entries, in PROFILE.  Use GETENV to determine the
 current settings and report only settings not already effective."
   (let ((search-paths (delete-duplicates
-                       (append-map manifest-entry-search-paths entries))))
+                       (cons $PATH
+                             (append-map manifest-entry-search-paths
+                                         entries)))))
     (filter-map (match-lambda
                   ((spec . value)
                    (let ((variable (search-path-specification-variable spec))



reply via email to

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