diff options
author | Florian Klink <flokli@flokli.de> | 2024-10-26T08·37+0200 |
---|---|---|
committer | flokli <flokli@flokli.de> | 2024-10-26T10·13+0000 |
commit | 0bc686448c30704f91f1cfaf7bcec8e69402d1b8 (patch) | |
tree | 4a307c95b130bba4ac5e35d7926408d82510e693 /users | |
parent | f3f20c2080f1721d099d0c472740763ee062543a (diff) |
feat(users/flokli/slides/2023-asg): add pdf r/8859
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>
Diffstat (limited to 'users')
-rw-r--r-- | users/flokli/presentations/2023-09-13-asg-tvix-store/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/users/flokli/presentations/2023-09-13-asg-tvix-store/default.nix b/users/flokli/presentations/2023-09-13-asg-tvix-store/default.nix index 840f21de8103..e1709a06786d 100644 --- a/users/flokli/presentations/2023-09-13-asg-tvix-store/default.nix +++ b/users/flokli/presentations/2023-09-13-asg-tvix-store/default.nix @@ -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 ''; } |