summary refs log tree commit diff
path: root/gnu/packages.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-03-08 23:12:09 +0100
committerLudovic Courtès <ludo@gnu.org>2017-03-08 23:42:53 +0100
commitd75e8f36a80be8155f40678e30d8384c205cf96f (patch)
tree2f10ab60b8f6c28a1a14cb91b025b7500320bc40 /gnu/packages.scm
parentac9c1dc7bdf1a016fcd1989993999e4a32d0c885 (diff)
downloadguix-d75e8f36a80be8155f40678e30d8384c205cf96f.tar.gz
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.scm4
1 files changed, 2 insertions, 2 deletions
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 @@ 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; \