~ruther/guix-local

f1a892c96f15f834f498a35cfa7b36069c640f52 — Ludovic Courtès 9 years ago fae88ae
lint: Use the "@" syntax for versioned packages in warnings.

* guix/scripts/lint.scm (emit-warning): Use the "@" syntax.
1 files changed, 2 insertions(+), 2 deletions(-)

M guix/scripts/lint.scm
M guix/scripts/lint.scm => guix/scripts/lint.scm +2 -2
@@ 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)