aboutsummaryrefslogtreecommitdiff
path: root/guix-data-service/jobs/load-new-guix-revision.scm
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2022-05-27 10:08:54 +0100
committerChristopher Baines <mail@cbaines.net>2022-05-27 10:09:09 +0100
commit4b8846a86156d35beececa21cc9feb1ba3b2d319 (patch)
tree4f5ab52f337eb12fd034639c5e871bd2754e1b1e /guix-data-service/jobs/load-new-guix-revision.scm
parentfb8353559fc45653c4eaa132e85456b2fbe94342 (diff)
downloaddata-service-4b8846a86156d35beececa21cc9feb1ba3b2d319.tar
data-service-4b8846a86156d35beececa21cc9feb1ba3b2d319.tar.gz
Remove cross derivation targets that don't make sense
This matches the previous behaviour without using the platform data.
Diffstat (limited to 'guix-data-service/jobs/load-new-guix-revision.scm')
-rw-r--r--guix-data-service/jobs/load-new-guix-revision.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/guix-data-service/jobs/load-new-guix-revision.scm b/guix-data-service/jobs/load-new-guix-revision.scm
index d11ab3b..cb1d198 100644
--- a/guix-data-service/jobs/load-new-guix-revision.scm
+++ b/guix-data-service/jobs/load-new-guix-revision.scm
@@ -637,7 +637,13 @@ WHERE job_id = $1")
"x86_64-w64-mingw32"))))
(define cross-derivations
- `(("x86_64-linux" . ,inf-targets)))
+ `(("x86_64-linux" . ,(remove
+ (lambda (target)
+ ;; Remove targets that don't make much sense
+ (member target
+ '("x86_64-linux-gnu"
+ "i686-linux-gnu")))
+ inf-targets))))
(define supported-system-pairs
(map (lambda (system)