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