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'.
This commit is contained in:
parent
ac9c1dc7bd
commit
d75e8f36a8
|
@ -311,8 +311,8 @@ return its return value."
|
|||
((pkg . pkg*)
|
||||
(unless (null? pkg*)
|
||||
(warning (_ "ambiguous package specification `~a'~%") spec)
|
||||
(warning (_ "choosing ~a from ~a~%")
|
||||
(package-full-name pkg)
|
||||
(warning (_ "choosing ~a@~a from ~a~%")
|
||||
(package-name pkg) (package-version pkg)
|
||||
(location->string (package-location pkg))))
|
||||
(when fallback?
|
||||
(warning (_ "deprecated NAME-VERSION syntax; \
|
||||
|
|
Loading…
Reference in New Issue