summaryrefslogtreecommitdiff
path: root/guix
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-06-21 10:57:10 +0200
committerLudovic Courtès <ludo@gnu.org>2017-06-21 11:05:53 +0200
commit8c9e90debf1e7af3da167e34dcdc405b16f339e7 (patch)
treecca95298482e115874919ac78a06b96576325e42 /guix
parenta654dc4bcf7c8e205bdefa1a1d5f23444dd22778 (diff)
guix package: '--search-paths' shows search paths from propagated inputs.
* guix/scripts/package.scm (process-query) <'search-paths>: Use 'manifest-transitive-entries' instead of 'manifest-entries'.
Diffstat (limited to 'guix')
-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)