Include the package version in the "error when computing" messages

As this helps when there are lots of packages with the same name.
This commit is contained in:
Christopher Baines 2024-10-24 18:55:12 +02:00
parent 052cf7580c
commit ff32aa899e

View file

@ -517,8 +517,9 @@
(lambda args
(simple-format
(current-error-port)
"warning: error when computing ~A derivation for system ~A (~A): ~A\n"
"warning: error when computing ~A@~A derivation for system ~A (~A): ~A\n"
(package-name package)
(package-version package)
system
(or target "no target")
args)