From 0bc686448c30704f91f1cfaf7bcec8e69402d1b8 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Sat, 26 Oct 2024 10:37:30 +0200 Subject: feat(users/flokli/slides/2023-asg): add pdf Change-Id: I85b1f2a9bb99df01546f3d0d3f60d9953f1d8d61 Reviewed-on: https://cl.tvl.fyi/c/depot/+/12684 Autosubmit: flokli Tested-by: BuildkiteCI Reviewed-by: flokli --- users/flokli/presentations/2023-09-13-asg-tvix-store/default.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'users') 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 ''; } -- cgit 1.4.1