aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2024-10-24 18:55:12 +0200
committerChristopher Baines <mail@cbaines.net>2024-10-27 14:39:52 +0000
commitff32aa899e5153346beb6f9ba4bb7d75ebe83831 (patch)
treebdeea9af644cfbd211aa4ff95e348a657dc17877
parent052cf7580c9fe78db9268fbfbb2dd8c802401dab (diff)
downloaddata-service-ff32aa899e5153346beb6f9ba4bb7d75ebe83831.tar
data-service-ff32aa899e5153346beb6f9ba4bb7d75ebe83831.tar.gz
Include the package version in the "error when computing" messages
As this helps when there are lots of packages with the same name.
-rw-r--r--guix-data-service/jobs/load-new-guix-revision.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix-data-service/jobs/load-new-guix-revision.scm b/guix-data-service/jobs/load-new-guix-revision.scm
index 67023b3..294c830 100644
--- a/guix-data-service/jobs/load-new-guix-revision.scm
+++ b/guix-data-service/jobs/load-new-guix-revision.scm
@@ -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)