From 5b7fcb7e6921ef13a733ada0153d00b93eb332db Mon Sep 17 00:00:00 2001 From: Alexander Esgen Date: Wed, 17 Apr 2024 14:24:33 +0200 Subject: [PATCH] PDFs: add as Hydra build products --- nix/pdfs.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nix/pdfs.nix b/nix/pdfs.nix index 4881ea2f63..9f24eecfba 100644 --- a/nix/pdfs.nix +++ b/nix/pdfs.nix @@ -35,6 +35,11 @@ final: prev: { cp tech-reports/**/*.pdf $out/ cp formal-spec/consensus-spec.pdf $out/ + + mkdir -p $out/nix-support + for pdf in $out/*.pdf; do + echo "file binary-dist $pdf" >> $out/nix-support/hydra-build-products + done ''; }; }