From 0afe70a31740367df42fc21c8cbd1916ca19fd01 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 7 Sep 2025 12:59:30 -0700 Subject: convert the resume to HTML instead of PDF --- flake.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index fb3b89f..72d4fc0 100644 --- a/flake.nix +++ b/flake.nix @@ -23,7 +23,6 @@ inherit system; }; treefmtEval = treefmt-nix.lib.evalModule pkgs ./treefmt.nix; - texlive = pkgs.texlive.combine { inherit (pkgs.texlive) scheme-context; }; in { # for `nix fmt` @@ -61,12 +60,11 @@ src = ./.; buildInputs = [ pandoc - texlive ]; buildPhase = '' mkdir -p $out pandoc --embed-resources -s src/index.org --css=src/css/main.css -t html -o $out/index.html - pandoc --pdf-engine=context src/resume.org -o $out/resume.pdf + pandoc --embed-resources -s src/resume.org --css=src/css/resume.css -t html -o $out/resume.html ''; dontInstall = true; }; -- cgit v1.2.3