about summary refs log tree commit diff
path: root/web/bubblegum
diff options
context:
space:
mode:
Diffstat (limited to 'web/bubblegum')
-rw-r--r--web/bubblegum/OWNERS4
-rw-r--r--web/bubblegum/default.nix39
-rw-r--r--web/bubblegum/examples/default.nix1
-rw-r--r--web/bubblegum/examples/derivation-svg.nix13
4 files changed, 23 insertions, 34 deletions
diff --git a/web/bubblegum/OWNERS b/web/bubblegum/OWNERS
index f16dd105d7..2e95807063 100644
--- a/web/bubblegum/OWNERS
+++ b/web/bubblegum/OWNERS
@@ -1,3 +1 @@
-inherited: true
-owners:
-  - sterni
+sterni
diff --git a/web/bubblegum/default.nix b/web/bubblegum/default.nix
index 528d73032b..ed9ab61680 100644
--- a/web/bubblegum/default.nix
+++ b/web/bubblegum/default.nix
@@ -10,23 +10,28 @@ let
     nint
     ;
 
-  minimalDepot = sparseTree depot.path.origSrc [
-    # general depot things
-    "default.nix"
-    "nix/readTree"
-    # nixpkgs for lib and packages
-    "third_party/nixpkgs"
-    "third_party/overlays"
-    # bubblegum and its dependencies
-    "web/bubblegum"
-    "nix/runExecline"
-    "nix/utils"
-    "nix/sparseTree"
-    # tvix docs for svg demo
-    "tvix/docs"
-    # for blog.nix
-    "users/sterni/nix"
-  ];
+  minimalDepot = sparseTree {
+    root = depot.path.origSrc;
+    name = "minimal-depot";
+
+    paths = [
+      # general depot things
+      "default.nix"
+      "nix/readTree"
+      # nixpkgs for lib and packages
+      "third_party/nixpkgs"
+      "third_party/overlays"
+      # bubblegum and its dependencies
+      "web/bubblegum"
+      "nix/runExecline"
+      "nix/utils"
+      "nix/sparseTree"
+      # tvix docs for svg demo
+      "tvix/docs"
+      # for blog.nix
+      "users/sterni/nix"
+    ];
+  };
 
   statusCodes = {
     # 1xx
diff --git a/web/bubblegum/examples/default.nix b/web/bubblegum/examples/default.nix
index 89482f93ea..20f897dbbf 100644
--- a/web/bubblegum/examples/default.nix
+++ b/web/bubblegum/examples/default.nix
@@ -4,7 +4,6 @@ let
 
   scripts = [
     ./hello.nix
-    ./derivation-svg.nix
     (substituteAll {
       src = ./blog.nix;
       # by making this a plain string this
diff --git a/web/bubblegum/examples/derivation-svg.nix b/web/bubblegum/examples/derivation-svg.nix
deleted file mode 100644
index 9a625afb55..0000000000
--- a/web/bubblegum/examples/derivation-svg.nix
+++ /dev/null
@@ -1,13 +0,0 @@
-# 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")