Commit ac04bbcb2d

ac04bbcb2db0079dcc2978c6fe652210f490d06b

parent: baa6262554

Verified · cmc

cmc <hello@cleberg.net> · 2026-03-23 16:10 UTC

fix emacs package paths for sr.ht build user

Layout: unified · split

.build.yml +7
@@ -20,6 +20,13 @@ tasks:
20 curl -LsSf https://astral.sh/uv/install.sh | sh 20 curl -LsSf https://astral.sh/uv/install.sh | sh
21 curl -sSfL https://github.com/tdewolff/minify/releases/latest/download/minify_linux_amd64.tar.gz \ 21 curl -sSfL https://github.com/tdewolff/minify/releases/latest/download/minify_linux_amd64.tar.gz \
22 | tar -xz -C ~/.local/bin minify 22 | tar -xz -C ~/.local/bin minify
23 mkdir -p ~/.config/emacs/.local/straight/repos
24 git clone --depth 1 https://github.com/nicferrier/emacs-htmlize \
25 ~/.config/emacs/.local/straight/repos/htmlize
26 git clone --depth 1 https://github.com/emacs-weblorg/weblorg \
27 ~/.config/emacs/.local/straight/repos/weblorg
28 git clone --depth 1 https://github.com/emacs-weblorg/templatel \
29 ~/.config/emacs/.local/straight/repos/templatel
23 - build: | 30 - build: |
24 source ~/.local/bin/env 31 source ~/.local/bin/env
25 cd cleberg.net 32 cd cleberg.net
publish.el +2 −4
@@ -1,9 +1,7 @@
1;;; -*- lexical-binding: t -*- 1;;; -*- lexical-binding: t -*-
2;; Allow for macOS (dev machine) & Linux (GitHub Actions) execution 2;; Allow for macOS (dev machine) & Linux (GitHub Actions) execution
3(defvar site-lisp-base 3(defvar site-lisp-base
4 (if (eq system-type 'darwin) 4 (expand-file-name "~/.config/emacs/.local/straight/repos"))
5 "~/.config/emacs/.local/straight/repos" ; macOS path
6 "/home/linuxbrew/.config/emacs/.local/straight/repos")) ; CI/Linux path
7 5
8;; Explicitly load packages 6;; Explicitly load packages
9(add-to-list 'load-path (expand-file-name "htmlize" site-lisp-base)) 7(add-to-list 'load-path (expand-file-name "htmlize" site-lisp-base))