aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2020-02-16 13:38:07 +0000
committerChristopher Baines <mail@cbaines.net>2020-02-16 13:38:07 +0000
commit07b97fcb73136c9631462bb23899d7c9f53601d3 (patch)
tree561ae79e241bd203ff9f80c631832d5a860f2039
parentb087cfca67778f0ba0d7777a23c57bf2094669fb (diff)
downloaddata-service-07b97fcb73136c9631462bb23899d7c9f53601d3.tar
data-service-07b97fcb73136c9631462bb23899d7c9f53601d3.tar.gz
Fix target handling on the package derivation history page
-rw-r--r--guix-data-service/web/repository/controller.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/guix-data-service/web/repository/controller.scm b/guix-data-service/web/repository/controller.scm
index 1fe4c8c..af77737 100644
--- a/guix-data-service/web/repository/controller.scm
+++ b/guix-data-service/web/repository/controller.scm
@@ -256,7 +256,7 @@
request
`((system ,(parse-build-system conn)
#:default "x86_64-linux")
- (target ,(parse-build-system conn)
+ (target ,parse-target
#:default "")))))
(let* ((system
(assq-ref parsed-query-parameters 'system))
@@ -304,6 +304,7 @@
branch-name
package-name
(valid-systems conn)
- (valid-targets conn)
+ (valid-targets->options
+ (valid-targets conn))
build-server-urls
package-derivations)))))))