diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-03-18 09:50:10 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-03-18 10:51:05 +0100 |
commit | b6fd086a61b3004f9f5392f630155b9ad01752e1 (patch) | |
tree | 7da2b0180e17a119422160fbeba1f40cfe7fea7c | |
parent | c0d43f62232507b441edf28c3f051921dfb04c2a (diff) | |
download | guix-b6fd086a61b3004f9f5392f630155b9ad01752e1.tar.gz guix-b6fd086a61b3004f9f5392f630155b9ad01752e1.zip |
describe: Warn about 'GUIX_PACKAGE_PATH' in json and recutils format.
Fixes <https://bugs.gnu.org/34884>.
Reported by Pierre Neidhardt <mail@ambrevar.xyz>.
* guix/scripts/describe.scm (display-package-search-path): Add catch-all
case for FMT.
-rw-r--r-- | guix/scripts/describe.scm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/guix/scripts/describe.scm b/guix/scripts/describe.scm index 7d0ecb0a4d..b6287d3a4c 100644 --- a/guix/scripts/describe.scm +++ b/guix/scripts/describe.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2018 Ludovic Courtès <ludo@gnu.org> +;;; Copyright © 2018, 2019 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2018 Oleg Pykhalov <go.wigust@gmail.com> ;;; ;;; This file is part of GNU Guix. @@ -85,7 +85,9 @@ Display information about the channels currently in use.\n")) (format #t "~%GUIX_PACKAGE_PATH=\"~a\"~%" string)) ('channels (format #t (G_ "~%;; warning: GUIX_PACKAGE_PATH=\"~a\"~%") - string)))))) + string)) + (_ + (warning (G_ "'GUIX_PACKAGE_PATH' is set but it is not captured~%"))))))) (define (channel->sexp channel) `(channel |