From b0a025389023332d61da829808d8d6e467752455 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Thu, 27 Oct 2022 19:12:22 -0700 Subject: feat(content): generate the resume in PDF too That way if someone is looking for it ... --- flake.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index dc15e9b..1821893 100644 --- a/flake.nix +++ b/flake.nix @@ -19,12 +19,14 @@ pname = "fcuny.net"; version = self.lastModifiedDate; src = ./.; - buildInputs = [ hugo git pandoc ]; + buildInputs = [ hugo git pandoc texlive.combined.scheme-tetex ]; buildPhase = '' mkdir -p $out ${pkgs.hugo}/bin/hugo --minify --destination $out ${pkgs.pandoc}/bin/pandoc --self-contained --css static/css/resume.css \ --from org --to html --output $out/resume.html content/resume.org + ${pkgs.pandoc}/bin/pandoc --self-contained --css static/css/resume.css \ + --from org --to pdf --output $out/resume.pdf content/resume.org ''; dontInstall = true; }; -- cgit 1.4.1