diff options
| author | Xe Iaso <me@xeiaso.net> | 2023-07-27 10:08:42 -0400 |
|---|---|---|
| committer | Xe Iaso <me@xeiaso.net> | 2023-07-27 10:08:42 -0400 |
| commit | 6ff67357c770f35ab3aea4a0ea9fcb56af3a97c6 (patch) | |
| tree | fa4629287889e306eeffdec1e9a4575a29c695dd | |
| parent | d037fa15585858a2f02877110ab2ad6e9cb9a25a (diff) | |
| download | xesite-6ff67357c770f35ab3aea4a0ea9fcb56af3a97c6.tar.xz xesite-6ff67357c770f35ab3aea4a0ea9fcb56af3a97c6.zip | |
fix resume build
Signed-off-by: Xe Iaso <me@xeiaso.net>
| -rw-r--r-- | flake.nix | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -43,12 +43,12 @@ tex = with pkgs; texlive.combine { inherit (texlive) scheme-medium bitter titlesec; }; - typstWithIosevka = let - fontsConf = pkgs.symlinkJoin { + fontsConf = pkgs.symlinkJoin { name = "typst-fonts"; paths = [ "${self.packages.${system}.iosevka}/static/css/iosevka" ]; }; - in pkgs.writeShellApplication { + + typstWithIosevka = pkgs.writeShellApplication { name = "typst"; text = '' ${pkgs.typst-dev}/bin/typst \ @@ -98,7 +98,7 @@ dhallPackages.Prelude tex pandoc - typstWithIosevka + typst-dev ]; phases = "installPhase"; @@ -115,7 +115,7 @@ cp -vrf $src/dhall/resume/* . dhall-to-json --file $src/dhall/resume.dhall --output resume.json - typst compile resume.typ $out/static/resume/resume.pdf + typst compile --font-path ${fontsConf} resume.typ $out/static/resume/resume.pdf ''; }; |
