summaryrefslogtreecommitdiff
path: root/guix/describe.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-03-12 23:29:47 +0100
committerLudovic Courtès <ludo@gnu.org>2019-03-12 23:51:32 +0100
commit3f4f2ee404d328cbfb846aa18aafa33ee6ae3cff (patch)
tree10529d07a8a548e0a62b5114cafc76c158fcad0b /guix/describe.scm
parentc9c51ac39aae7a4a49c8125916740f340fdfd4f7 (diff)
describe: 'package-path-entries' no longer includes the "guix" entry.
Fixes <https://bugs.gnu.org/34833> Reported by mikadoZero <mikadozero@yandex.com>. By returning the "guix" entry, we were then adding it to %PACKAGE-MODULE-PATH, causing the discovery code to scan the whole tree, including gnu/installer modules, which would in turn lead to warnings. Regression introduced in bfc9c339301ffe6dd15d156894dc27e05f6f081f. * guix/describe.scm (package-path-entries): Use 'current-channel-entries', not 'current-profile-entries'.
Diffstat (limited to 'guix/describe.scm')
-rw-r--r--guix/describe.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/describe.scm b/guix/describe.scm
index 8851bc46d1..00372bbed7 100644
--- a/guix/describe.scm
+++ b/guix/describe.scm
@@ -86,7 +86,7 @@ when applicable."
(string-append (manifest-entry-item entry)
"/lib/guile/" (effective-version)
"/site-ccache")))
- (current-profile-entries))))
+ (current-channel-entries))))
(define (package-provenance package)
"Return the provenance of PACKAGE as an sexp for use as the 'provenance'