From be489a26c0e6a5f23a48142a87728a0ec8bc3c9c Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Mon, 8 Oct 2018 15:19:06 +0200 Subject: base: Distinguish between 'failed' and 'failed-dependency'. * src/cuirass/base.scm (update-build-statuses!): Call 'log-file' and use that to distinguish between 'failed' and 'failed-dependency'. --- src/cuirass/base.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/cuirass/base.scm b/src/cuirass/base.scm index deee05b..cd095e0 100644 --- a/src/cuirass/base.scm +++ b/src/cuirass/base.scm @@ -372,7 +372,11 @@ outputs are invalid, that they failed to build.)" (((_ . outputs) ...) (if (any (cut valid-path? store <>) outputs) (db-update-build-status! drv (build-status succeeded)) - (db-update-build-status! drv (build-status failed)))))) + (db-update-build-status! drv + (if (log-file store + (derivation-file-name drv)) + (build-status failed) + (build-status failed-dependency))))))) (for-each update! lst)) -- cgit v1.2.3