diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2017-03-08 23:12:09 +0100 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2017-03-08 23:42:53 +0100 |
| commit | d75e8f36a80be8155f40678e30d8384c205cf96f (patch) | |
| tree | 2f10ab60b8f6c28a1a14cb91b025b7500320bc40 /gnu/packages.scm | |
| parent | ac9c1dc7bdf1a016fcd1989993999e4a32d0c885 (diff) | |
packages: Use PACKAGE@VERSION syntax when reporting ambiguities.
* gnu/packages.scm (%find-package): Upon ambiguity, use the
PACKAGE@VERSION syntax instead of 'package-full-name'.
Diffstat (limited to 'gnu/packages.scm')
| -rw-r--r-- | gnu/packages.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages.scm b/gnu/packages.scm index 10ca3bb314d..92bab7228ad 100644 --- a/gnu/packages.scm +++ b/gnu/packages.scm | |||
| @@ -311,8 +311,8 @@ return its return value." | |||
| 311 | ((pkg . pkg*) | 311 | ((pkg . pkg*) |
| 312 | (unless (null? pkg*) | 312 | (unless (null? pkg*) |
| 313 | (warning (_ "ambiguous package specification `~a'~%") spec) | 313 | (warning (_ "ambiguous package specification `~a'~%") spec) |
| 314 | (warning (_ "choosing ~a from ~a~%") | 314 | (warning (_ "choosing ~a@~a from ~a~%") |
| 315 | (package-full-name pkg) | 315 | (package-name pkg) (package-version pkg) |
| 316 | (location->string (package-location pkg)))) | 316 | (location->string (package-location pkg)))) |
| 317 | (when fallback? | 317 | (when fallback? |
| 318 | (warning (_ "deprecated NAME-VERSION syntax; \ | 318 | (warning (_ "deprecated NAME-VERSION syntax; \ |
