aboutsummaryrefslogtreecommitdiff
path: root/guix-data-service/model/package.scm
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2021-05-12 08:27:48 +0100
committerChristopher Baines <mail@cbaines.net>2021-05-12 08:27:48 +0100
commitcdb41cfa3cd83e99d0d11a28b9d52749a82bf902 (patch)
treef0afd4e9c0bc12db396cfc9f3a128ef18d2ae6f1 /guix-data-service/model/package.scm
parentd13a7187afb149b0c2cb2acfba7f0598d8af26b7 (diff)
downloaddata-service-cdb41cfa3cd83e99d0d11a28b9d52749a82bf902.tar
data-service-cdb41cfa3cd83e99d0d11a28b9d52749a82bf902.tar.gz
Fix query typo in branches-by-package-version
Diffstat (limited to 'guix-data-service/model/package.scm')
-rw-r--r--guix-data-service/model/package.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix-data-service/model/package.scm b/guix-data-service/model/package.scm
index 6f7d204..813d820 100644
--- a/guix-data-service/model/package.scm
+++ b/guix-data-service/model/package.scm
@@ -579,7 +579,7 @@ INNER JOIN package_derivations
ON package_derivations.id = guix_revision_package_derivations.package_derivation_id
AND package_derivations.target = $3
INNER JOIN systems
- ON package_derivations.system_id = systems_id
+ ON package_derivations.system_id = systems.id
AND systems.system = $2
INNER JOIN packages
ON package_derivations.package_id = packages.id