ui: Tweak conflicting profile entry error message.

* guix/ui.scm (call-with-error-handling): Use 'manifest-entry-output*'
when reporting conflicting profile entries.
This commit is contained in:
Ludovic Courtès 2017-12-03 23:17:26 +01:00
parent 4bd70904c7
commit 3fb6464ba4
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -555,9 +555,9 @@ (define (manifest-entry-output* entry)
("out" "") ("out" "")
(output (string-append ":" output)))) (output (string-append ":" output))))
(report-error (G_ "profile contains conflicting entries for ~a:~a~%") (report-error (G_ "profile contains conflicting entries for ~a~a~%")
(manifest-entry-name entry) (manifest-entry-name entry)
(manifest-entry-output entry)) (manifest-entry-output* entry))
(report-error (G_ " first entry: ~a@~a~a ~a~%") (report-error (G_ " first entry: ~a@~a~a ~a~%")
(manifest-entry-name entry) (manifest-entry-name entry)
(manifest-entry-version entry) (manifest-entry-version entry)