aboutsummaryrefslogtreecommitdiff
path: root/guix-data-service/web
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2020-10-21 18:38:29 +0100
committerChristopher Baines <mail@cbaines.net>2020-10-21 18:38:29 +0100
commitb5b89b3645e0868aa225926cff66602626b7a145 (patch)
treed6801f56f847db4d3aa6cef0cafca1efd352450d /guix-data-service/web
parent971a474f6505df4941b5e5be61fa004e4c1bbdd1 (diff)
downloaddata-service-b5b89b3645e0868aa225926cff66602626b7a145.tar
data-service-b5b89b3645e0868aa225926cff66602626b7a145.tar.gz
Fix broken links to builds
Diffstat (limited to 'guix-data-service/web')
-rw-r--r--guix-data-service/web/html-utils.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix-data-service/web/html-utils.scm b/guix-data-service/web/html-utils.scm
index 5fa1ad4..660fcd3 100644
--- a/guix-data-service/web/html-utils.scm
+++ b/guix-data-service/web/html-utils.scm
@@ -70,7 +70,8 @@
value))
(define (build-url build-server-id build-server-build-id derivation-file-name)
- (if (string? build-server-build-id)
+ (if (and (string? build-server-build-id)
+ (not (string-null? build-server-build-id)))
(simple-format
#f "/build-server/~A/build?build_server_build_id=~A"
build-server-id