aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-01-31 23:51:09 +0100
committerLudovic Courtès <ludo@gnu.org>2017-01-31 23:51:09 +0100
commitf1a892c96f15f834f498a35cfa7b36069c640f52 (patch)
treee6c928b68b14fefbb416092f3d3e0b998c3c2c02
parentfae88ae884aa826642c1e31cf86b33b175552ef0 (diff)
downloadpatches-f1a892c96f15f834f498a35cfa7b36069c640f52.tar
patches-f1a892c96f15f834f498a35cfa7b36069c640f52.tar.gz
lint: Use the "@" syntax for versioned packages in warnings.
* guix/scripts/lint.scm (emit-warning): Use the "@" syntax.
-rw-r--r--guix/scripts/lint.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/guix/scripts/lint.scm b/guix/scripts/lint.scm
index 0b38aac319..776e7332c5 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: ~a@~a: ~a~%"
(location->string loc)
- (package-full-name package)
+ (package-name package) (package-version package)
message)))
(define (call-with-accumulated-warnings thunk)