guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/20: Include the package version in the "error when computing" message


From: Christopher Baines
Subject: 06/20: Include the package version in the "error when computing" messages
Date: Mon, 4 Nov 2024 12:27:29 -0500 (EST)

cbaines pushed a commit to branch master
in repository data-service.

commit ff32aa899e5153346beb6f9ba4bb7d75ebe83831
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Thu Oct 24 18:55:12 2024 +0200

    Include the package version in the "error when computing" messages
    
    As this helps when there are lots of packages with the same name.
---
 guix-data-service/jobs/load-new-guix-revision.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]