summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--guix/scripts/package.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/scripts/package.scm b/guix/scripts/package.scm
index 5e19df5e43..4834da9271 100644
--- a/guix/scripts/package.scm
+++ b/guix/scripts/package.scm
@@ -789,7 +789,8 @@ processed, #f otherwise."
 
       (('search-paths kind)
        (let* ((manifests (map profile-manifest profiles))
-              (entries   (append-map manifest-entries manifests))
+              (entries   (append-map manifest-transitive-entries
+                                     manifests))
               (profiles  (map user-friendly-profile profiles))
               (settings  (search-path-environment-variables entries profiles
                                                             (const #f)