guix-commits
[Top][All Lists]
Advanced

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

05/05: lint: Use the "@" syntax for versioned packages in warnings.


From: Ludovic Courtès
Subject: 05/05: lint: Use the "@" syntax for versioned packages in warnings.
Date: Tue, 31 Jan 2017 22:53:51 +0000 (UTC)

civodul pushed a commit to branch master
in repository guix.

commit f1a892c96f15f834f498a35cfa7b36069c640f52
Author: Ludovic Courtès <address@hidden>
Date:   Tue Jan 31 23:51:09 2017 +0100

    lint: Use the "@" syntax for versioned packages in warnings.
    
    * guix/scripts/lint.scm (emit-warning): Use the "@" syntax.
---
 guix/scripts/lint.scm |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/guix/scripts/lint.scm b/guix/scripts/lint.scm
index 0b38aac..776e733 100644
--- a/guix/scripts/lint.scm
+++ b/guix/scripts/lint.scm
@@ -90,9 +90,9 @@
   ;; provided MESSAGE.
   (let ((loc (or (package-field-location package field)
                  (package-location package))))
-    (format (guix-warning-port) "~a: ~a: ~a~%"
+    (format (guix-warning-port) "~a: address@hidden: ~a~%"
             (location->string loc)
-            (package-full-name package)
+            (package-name package) (package-version package)
             message)))
 
 (define (call-with-accumulated-warnings thunk)



reply via email to

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