diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-01-31 23:51:09 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-01-31 23:51:09 +0100 |
commit | f1a892c96f15f834f498a35cfa7b36069c640f52 (patch) | |
tree | e6c928b68b14fefbb416092f3d3e0b998c3c2c02 | |
parent | fae88ae884aa826642c1e31cf86b33b175552ef0 (diff) | |
download | patches-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.scm | 4 |
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) |