about summary refs log tree commit diff
path: root/tvix
diff options
context:
space:
mode:
Diffstat (limited to 'tvix')
-rw-r--r--tvix/docs/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/tvix/docs/default.nix b/tvix/docs/default.nix
index 606027424a11..4b09f8d2dae2 100644
--- a/tvix/docs/default.nix
+++ b/tvix/docs/default.nix
@@ -19,6 +19,8 @@ in pkgs.stdenv.mkDerivation {
   pname = "tvix-doc";
   version = "0.1";
 
+  outputs = [ "out" "svg" ];
+
   src = lib.cleanSource ./.;
 
   CSL = csl;
@@ -31,8 +33,13 @@ in pkgs.stdenv.mkDerivation {
 
   installPhase = ''
     runHook preInstall
+
     mkdir -p $out
     cp -v *.html $out/
+
+    mkdir -p $svg
+    cp -v *.svg $svg/
+
     runHook postSubmit
   '';