From 755e1147aa33d1c305bb9db6c5e03cf1063079fc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= <ludo@gnu.org>
Date: Wed, 20 May 2015 11:12:34 +0200
Subject: [PATCH] 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 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/guix/scripts/package.scm b/guix/scripts/package.scm
index 15f3e13cc1..300af681c2 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))