about summary refs log blame commit diff
path: root/web/bubblegum/examples/derivation-svg.nix
blob: 9a625afb55d7e28496bf4c537dd84ba186924fab (plain) (tree)
1
2
3
4
5
6
7
8







                                                   




                                                                 
# Warning: this is *very* slow on the first request
{ depot, ... }:

let
  inherit (depot.web.bubblegum)
    respond
    ;
in
respond "OK"
{
  Content-type = "image/svg+xml";
}
  (builtins.readFile "${depot.tvix.docs.svg}/component-flow.svg")