diff options
author | Christopher Baines <mail@cbaines.net> | 2020-10-24 19:14:30 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2020-10-24 19:14:30 +0100 |
commit | 6160f09410a330a03fe6a95b3252b6f5c4322931 (patch) | |
tree | 5487953e6fbe27e7986f5c52537f8416c8fb152e /guix-build-coordinator/datastore.scm | |
parent | 0df7fce1f2746fadfe3f9aa82826b48c84b3eab2 (diff) | |
download | build-coordinator-6160f09410a330a03fe6a95b3252b6f5c4322931.tar build-coordinator-6160f09410a330a03fe6a95b3252b6f5c4322931.tar.gz |
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.
Diffstat (limited to 'guix-build-coordinator/datastore.scm')
-rw-r--r-- | guix-build-coordinator/datastore.scm | 1 |
1 files changed, 1 insertions, 0 deletions
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) |