From d75e8f36a80be8155f40678e30d8384c205cf96f Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 8 Mar 2017 23:12:09 +0100 Subject: 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'. --- gnu/packages.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages.scm') diff --git a/gnu/packages.scm b/gnu/packages.scm index 10ca3bb314..92bab7228a 100644 --- a/gnu/packages.scm +++ b/gnu/packages.scm @@ -311,8 +311,8 @@ (define* (%find-package spec name version #:key fallback?) ((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; \ -- cgit v1.2.3