Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
takeokunn committed Jan 19, 2025
1 parent 1fcc40a commit f741c44
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions typst/phperkaigi-2025-pamphlet/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,19 @@
))
];
buildPhase = ''
emacs --batch \
--eval "(progn
(require 'ox-typst)
(find-file \"main.org\")
(org-typst-export-to-typst))"
emacs --batch \
--eval "(progn
(require 'ox-typst)
(find-file \"main.org\")
(org-typst-export-to-typst))"
export TYPST_FONT_PATHS="${pkgs.migu}/share/fonts/truetype/migu"
typst compile main.typ
'';
export TYPST_FONT_PATHS="${pkgs.migu}/share/fonts/truetype/migu"
typst compile main.typ
'';
installPhase = ''
mkdir -p $out
cp main.pdf $out/
'';
mkdir -p $out
cp main.pdf $out/
'';
};
}
);
Expand Down

0 comments on commit f741c44

Please sign in to comment.