aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2025-09-07 12:59:30 -0700
committerFranck Cuny <franck@fcuny.net>2025-09-07 12:59:30 -0700
commit0afe70a31740367df42fc21c8cbd1916ca19fd01 (patch)
treee3ce38729ed2d913e29f1c4a99019e7a126a0c0b /flake.nix
parenttidy up the resume (diff)
downloadfcuny.net-0afe70a31740367df42fc21c8cbd1916ca19fd01.tar.gz
convert the resume to HTML instead of PDF
Diffstat (limited to '')
-rw-r--r--flake.nix4
1 files changed, 1 insertions, 3 deletions
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;
};