Browse Source

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'.
wip-git-https
Ludovic Courtès 6 years ago
parent
commit
d75e8f36a8
No known key found for this signature in database GPG Key ID: 90B11993D9AEBB5
  1. 4
      gnu/packages.scm

4
gnu/packages.scm

@ -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…
Cancel
Save