feat(users/flokli/slides/2023-asg): add pdf
Change-Id: I85b1f2a9bb99df01546f3d0d3f60d9953f1d8d61 Reviewed-on: https://cl.tvl.fyi/c/depot/+/12684 Autosubmit: flokli <flokli@flokli.de> Tested-by: BuildkiteCI Reviewed-by: flokli <flokli@flokli.de>
This commit is contained in:
parent
f3f20c2080
commit
0bc686448c
1 changed files with 4 additions and 0 deletions
|
@ -28,5 +28,9 @@ stdenv.mkDerivation {
|
|||
mkdir -p $out
|
||||
cp tvix-store-graph-blob-directory.svg $out/
|
||||
reveal-md --static $out presentation.md
|
||||
|
||||
CHROME_CONFIG_HOME=/build/.config reveal-md presentation.md --print $out/slides.pdf --puppeteer-chromium-executable="${pkgs.chromium}/bin/chromium"
|
||||
# Above command doesn't fail on error, ensure file has been created
|
||||
[[ -f "$out/slides.pdf" ]] || exit 1
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue