From 6160f09410a330a03fe6a95b3252b6f5c4322931 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sat, 24 Oct 2020 19:14:30 +0100 Subject: Don't assume the missing input to a build is a direct input Substitutes could be available for all direct inputs, but be missing for things they reference. This could happen if those builds happened on a machine with the store items available for example. Therefore, search the entire graph for the relevant derivation when looking for the derivation to build to provide the missing input. This change matches up with the similar improvement around handling fetching substitutes. --- guix-build-coordinator/datastore.scm | 1 + 1 file changed, 1 insertion(+) (limited to 'guix-build-coordinator/datastore.scm') diff --git a/guix-build-coordinator/datastore.scm b/guix-build-coordinator/datastore.scm index 607a412..af55583 100644 --- a/guix-build-coordinator/datastore.scm +++ b/guix-build-coordinator/datastore.scm @@ -49,6 +49,7 @@ (re-export datastore-find-derivation-outputs) (re-export datastore-find-derivation-system) (re-export datastore-find-derivation-inputs) +(re-export datastore-find-derivation-for-output) (re-export datastore-list-builds-for-output) (re-export datastore-list-builds-for-output-and-system) (re-export datastore-agent-for-build) -- cgit v1.2.3