aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-03-23 11:10:07 -0500
committerChristian Cleberg <[email protected]>2026-03-23 11:10:07 -0500
commitac04bbcb2db0079dcc2978c6fe652210f490d06b (patch)
tree84514fd0d648424148221049777ba30727e8f2cc
parentbaa6262554d3fbf0ba93870c80ac2c176d52df9c (diff)
downloadcleberg.net-ac04bbcb2db0079dcc2978c6fe652210f490d06b.tar.gz
cleberg.net-ac04bbcb2db0079dcc2978c6fe652210f490d06b.tar.bz2
cleberg.net-ac04bbcb2db0079dcc2978c6fe652210f490d06b.zip
fix emacs package paths for sr.ht build user
-rw-r--r--.build.yml7
-rw-r--r--publish.el6
2 files changed, 9 insertions, 4 deletions
diff --git a/.build.yml b/.build.yml
index 98a9c58..b338234 100644
--- a/.build.yml
+++ b/.build.yml
@@ -20,6 +20,13 @@ tasks:
curl -LsSf https://astral.sh/uv/install.sh | sh
curl -sSfL https://github.com/tdewolff/minify/releases/latest/download/minify_linux_amd64.tar.gz \
| tar -xz -C ~/.local/bin minify
+ mkdir -p ~/.config/emacs/.local/straight/repos
+ git clone --depth 1 https://github.com/nicferrier/emacs-htmlize \
+ ~/.config/emacs/.local/straight/repos/htmlize
+ git clone --depth 1 https://github.com/emacs-weblorg/weblorg \
+ ~/.config/emacs/.local/straight/repos/weblorg
+ git clone --depth 1 https://github.com/emacs-weblorg/templatel \
+ ~/.config/emacs/.local/straight/repos/templatel
- build: |
source ~/.local/bin/env
cd cleberg.net
diff --git a/publish.el b/publish.el
index 058d40c..cf11664 100644
--- a/publish.el
+++ b/publish.el
@@ -1,9 +1,7 @@
;;; -*- lexical-binding: t -*-
;; Allow for macOS (dev machine) & Linux (GitHub Actions) execution
-(defvar site-lisp-base
- (if (eq system-type 'darwin)
- "~/.config/emacs/.local/straight/repos" ; macOS path
- "/home/linuxbrew/.config/emacs/.local/straight/repos")) ; CI/Linux path
+(defvar site-lisp-base
+ (expand-file-name "~/.config/emacs/.local/straight/repos"))
;; Explicitly load packages
(add-to-list 'load-path (expand-file-name "htmlize" site-lisp-base))