aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--guix-data-service/model/build.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix-data-service/model/build.scm b/guix-data-service/model/build.scm
index 92d4969..4f347f5 100644
--- a/guix-data-service/model/build.scm
+++ b/guix-data-service/model/build.scm
@@ -146,7 +146,7 @@ ORDER BY status"))
`(("guix_revisions.commit = $" . ,revision-commit))
'())
,@(if system
- `(("derivations.system_id = $" .
+ `(("package_derivations.system_id = $" .
,(number->string (system->system-id conn system))))
'())
,@(if target