about summary refs log tree commit diff
path: root/web/bubblegum/examples/derivation-svg.nix
blob: 9a625afb55d7e28496bf4c537dd84ba186924fab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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")