guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

15/16: packages: Use address@hidden syntax when reporting ambiguities.


From: Ludovic Courtès
Subject: 15/16: packages: Use address@hidden syntax when reporting ambiguities.
Date: Wed, 8 Mar 2017 17:44:35 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit d75e8f36a80be8155f40678e30d8384c205cf96f
Author: Ludovic Courtès <address@hidden>
Date:   Wed Mar 8 23:12:09 2017 +0100

    packages: Use address@hidden syntax when reporting ambiguities.
    
    * gnu/packages.scm (%find-package): Upon ambiguity, use the
    address@hidden syntax instead of 'package-full-name'.
---
 gnu/packages.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages.scm b/gnu/packages.scm
index 10ca3bb..92bab72 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 address@hidden from ~a~%")
+                (package-name pkg) (package-version pkg)
                 (location->string (package-location pkg))))
      (when fallback?
        (warning (_ "deprecated NAME-VERSION syntax; \



reply via email to

[Prev in Thread] Current Thread [Next in Thread]