summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPreston Pan <ret2pop@nullring.xyz>2026-03-07 23:59:37 -0800
committerPreston Pan <ret2pop@nullring.xyz>2026-03-07 23:59:37 -0800
commit87f9a8fb4924f20f20ee1ef4c2b63a62cfe3578d (patch)
tree477964b13cf4613f4d24ee51bc04fddbb273aaf4
parent35272c1b68e013f11eaf0dc94458adb97fd059df (diff)
fix hook?
l---------.pre-commit-config.yaml2
-rw-r--r--flake.nix7
2 files changed, 4 insertions, 5 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index b3352a7..1218248 120000
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1 +1 @@
-/nix/store/zlqkxn1ybpxqhdyh99xp5a2ri8sj77va-pre-commit-config.json \ No newline at end of file
+/nix/store/fs5hda5aqxn0p2bl0vnn9agf81r6rxdy-pre-commit-config.json \ No newline at end of file
diff --git a/flake.nix b/flake.nix
index 9d73f82..d7d1c2a 100644
--- a/flake.nix
+++ b/flake.nix
@@ -68,7 +68,6 @@ if [ -d "$RESULT_PATH" ]; then
--offline \
--verbose \
--no-progress \
- --exclude-mail \
"$RESULT_PATH/**/*.html"
else
echo "Website build failed, skipping lychee."
@@ -216,9 +215,9 @@ emacs -q --batch \
--eval '(setq make-backup-files nil auto-save-default nil create-lockfiles nil)' \
--eval '(setq org-html-htmlize-output-type (quote css))' \
--eval '(setq org-html-head-extra "<link rel=\"stylesheet\" type=\"text/css\" href=\"/syntax.css\" />\n<script> window.MathJax = { tex: { tags: \"ams\", tagSide: \"left\", tagIndent: \"1em\" }, chtml: { displayAlign: \"left\", displayIndent: \"3em\" } }; </script>")' \
- --eval '(org-publish-all t)' \
- --eval '(org-publish-all nil)' || (echo "FAIL:" && cat /build/*.log && exit 1)
- echo "Setting up Graph View..."
+ --eval '(org-publish-all t)' || (echo "FAIL:" && cat /build/*.log && exit 1)
+
+echo "Setting up Graph View..."
${publish-org-roam-ui.packages.${system}.default}/bin/build-org-roam-graph \
$HOME/.emacs.d/org-roam.db \
$HOME/monorepo/mindmap \