From 7b34a18f4e1bb2ddbd72ccd465294acc6b3d1ab2 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sat, 16 Jan 2021 19:16:13 +0000 Subject: Start migrating derivation-inputs to derivation_inputs As I think underscores are more idiomatic in JSON. --- guix-build-coordinator/agent.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'guix-build-coordinator/agent.scm') diff --git a/guix-build-coordinator/agent.scm b/guix-build-coordinator/agent.scm index 683f501..8c038ab 100644 --- a/guix-build-coordinator/agent.scm +++ b/guix-build-coordinator/agent.scm @@ -97,7 +97,8 @@ (define (process-job build) (let ((build-id (assoc-ref build "uuid")) - (derivation-name (assoc-ref build "derivation-name"))) + (derivation-name (or (assoc-ref build "derivation_name") + (assoc-ref build "derivation-name")))) (log-msg lgr 'INFO build-id ": setting up to build: " -- cgit v1.2.3