aboutsummaryrefslogtreecommitdiff
path: root/guix-data-service/web/controller.scm
diff options
context:
space:
mode:
Diffstat (limited to 'guix-data-service/web/controller.scm')
-rw-r--r--guix-data-service/web/controller.scm7
1 files changed, 5 insertions, 2 deletions
diff --git a/guix-data-service/web/controller.scm b/guix-data-service/web/controller.scm
index 974722d..e55ebae 100644
--- a/guix-data-service/web/controller.scm
+++ b/guix-data-service/web/controller.scm
@@ -518,8 +518,11 @@
builds)
#:extra-headers http-headers-for-unchanging-content))
- #f ;; TODO
- )))
+ (render-html
+ #:sxml (general-not-found
+ "Derivation not found"
+ "No derivation found with this file name.")
+ #:code 404))))
(define (render-store-item conn filename)
(let ((derivation (select-derivation-by-output-filename conn filename)))