diff options
Diffstat (limited to 'guix-build-coordinator')
-rw-r--r-- | guix-build-coordinator/datastore/sqlite.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guix-build-coordinator/datastore/sqlite.scm b/guix-build-coordinator/datastore/sqlite.scm index fcc3588..b3ffdd4 100644 --- a/guix-build-coordinator/datastore/sqlite.scm +++ b/guix-build-coordinator/datastore/sqlite.scm @@ -3161,14 +3161,14 @@ INNER JOIN derivations ON derivations.id = related_derivations.id INNER JOIN derivation_outputs ON related_derivations.id = derivation_outputs.derivation_id -WHERE output = :output +WHERE derivation_outputs.output_id = :output_id " #:cache? #t))) (sqlite-bind-arguments statement #:derivation_id (db-find-derivation-id db start-derivation-name) - #:output output) + #:output_id (db-output->output-id db output)) (let ((result (match (sqlite-step statement) |