diff options
| author | Christian Cleberg <[email protected]> | 2026-03-23 11:10:07 -0500 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2026-03-23 11:10:07 -0500 |
| commit | ac04bbcb2db0079dcc2978c6fe652210f490d06b (patch) | |
| tree | 84514fd0d648424148221049777ba30727e8f2cc | |
| parent | baa6262554d3fbf0ba93870c80ac2c176d52df9c (diff) | |
| download | cleberg.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.yml | 7 | ||||
| -rw-r--r-- | publish.el | 6 |
2 files changed, 9 insertions, 4 deletions
@@ -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 @@ -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)) |
