aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index a752a6e..dc15e9b 100644
--- a/flake.nix
+++ b/flake.nix
@@ -19,10 +19,12 @@
pname = "fcuny.net";
version = self.lastModifiedDate;
src = ./.;
- buildInputs = [ hugo git ];
+ buildInputs = [ hugo git pandoc ];
buildPhase = ''
mkdir -p $out
- hugo --minify --destination $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
'';
dontInstall = true;
};