summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--guix/scripts/package.scm4
1 files changed, 3 insertions, 1 deletions
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))