aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-12-27 11:21:58 -0800
committerFranck Cuny <franck@fcuny.net>2024-12-27 11:22:49 -0800
commit2c7c8cfe74a0fcd0f10176d1595966003f848303 (patch)
tree8246b4912e9fd4f5a041906bf5c88a01be913216 /flake.nix
parentspecify correct path to scan for broken links (diff)
downloadfcuny.net-2c7c8cfe74a0fcd0f10176d1595966003f848303.tar.gz
move the resume as a singe page
Don't need to render it as a PDF.
Diffstat (limited to '')
-rw-r--r--flake.nix19
1 files changed, 1 insertions, 18 deletions
diff --git a/flake.nix b/flake.nix
index 8624a6e..8d4f34b 100644
--- a/flake.nix
+++ b/flake.nix
@@ -60,29 +60,13 @@
buildInputs = [
zola
git
- texlive.combined.scheme-small
];
buildPhase = ''
mkdir -p $out
${pkgs.zola}/bin/zola build -o $out -f
- ${pkgs.pandoc}/bin/pandoc --self-contained --css static/css/resume.css \
- --from markdown --to html --output $out/resume.html resume/resume.md
- ${pkgs.pandoc}/bin/pandoc --self-contained --css static/css/resume.css \
- --from markdown --to pdf --output $out/resume.pdf resume/resume.md
'';
dontInstall = true;
};
-
- zola = pkgs.writeShellScriptBin "zola" ''
- set -euo pipefail
- export PATH=${
- pkgs.lib.makeBinPath [
- pkgs.zola
- pkgs.git
- ]
- }
- zola serve
- '';
};
apps = {
@@ -103,13 +87,12 @@
};
check-merge-conflicts.enable = true;
end-of-file-fixer.enable = true;
- actionlint.enable = true;
};
};
};
devShells.default = pkgs.devshell.mkShell {
- name = "python-scripts";
+ name = "zola";
packages = with pkgs; [
zola
git