From 94593c9097917604f006a4dcd5e7b10a1b42beb1 Mon Sep 17 00:00:00 2001 From: jolheiser Date: Mon, 16 Oct 2023 11:17:14 -0500 Subject: [PATCH] feat: copy raw typst file to output as well Signed-off-by: jolheiser --- flake.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 9b86415..f33abfb 100644 --- a/flake.nix +++ b/flake.nix @@ -24,10 +24,11 @@ buildPhase = '' runHook preBuild - mkdir -p $out/share + mkdir $out export TYPST_FONT_PATHS=${pkgs.raleway}/share/fonts typst compile resume.typ $out/resume.pdf typst compile resume.typ $out/resume.png + cp resume.typ $out/resume.typ runHook postBuild '';