chore(tvix): Make docs multi output
We also want to access the produced SVGs separately. Change-Id: I5bdfd95b8a56323ed8bf5f4585b703f6e728c677 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2742 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
This commit is contained in:
parent
3c4e401c9e
commit
c693e8bf51
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue