diff options
Diffstat (limited to 'users/flokli/presentations')
-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 ''; } |