feat: copy raw typst file to output as well

Signed-off-by: jolheiser <john.olheiser@gmail.com>
main
jolheiser 2023-10-16 11:17:14 -05:00
parent 993470d86d
commit 94593c9097
Signed by: jolheiser
GPG Key ID: B853ADA5DA7BBF7A
1 changed files with 2 additions and 1 deletions

View File

@ -24,10 +24,11 @@
buildPhase = '' buildPhase = ''
runHook preBuild runHook preBuild
mkdir -p $out/share mkdir $out
export TYPST_FONT_PATHS=${pkgs.raleway}/share/fonts export TYPST_FONT_PATHS=${pkgs.raleway}/share/fonts
typst compile resume.typ $out/resume.pdf typst compile resume.typ $out/resume.pdf
typst compile resume.typ $out/resume.png typst compile resume.typ $out/resume.png
cp resume.typ $out/resume.typ
runHook postBuild runHook postBuild
''; '';