diff --git a/.doom.d/packages.el b/.doom.d/packages.el index 984c8b9..4964a29 100644 --- a/.doom.d/packages.el +++ b/.doom.d/packages.el @@ -53,3 +53,11 @@ ;; When using bibtex-completion via the `biblio` module (unpin! bibtex-completion helm-bibtex ivy-bibtex) + +;; HACK: Install a local copy of ob-ledger +;; Required until https://github.com/doomemacs/doomemacs/issues/6457 is fixed +(package! ob-ledger :recipe (:local-repo "lisp/ob-ledger")) + +;; HACK: Pin transient and with-editor until https://github.com/doomemacs/doomemacs/issues/7078 is fixed +(package! transient :pin "c2bdf7e12c530eb85476d3aef317eb2941ab9440") +(package! with-editor :pin "391e76a256aeec6b9e4cbd733088f30c677d965b") diff --git a/recipes/emacs-doom b/recipes/emacs-doom index fb2c2b8..ce4f76a 100644 --- a/recipes/emacs-doom +++ b/recipes/emacs-doom @@ -16,4 +16,12 @@ if ! [ -d ${HOME}/.doom.d ]; then _run "[emacs-doom] Install .doom.d" ln -s ${HOME}/dotfiles/.doom.d ${HOME}/.doom.d fi +# HACK: Install a local copy of ob-ledger +# Required until https://github.com/doomemacs/doomemacs/issues/6457 is fixed +if ! [ -f ${HOME}/.doom.d/lisp/ob-ledger/ob-ledger.el ]; then + mkdir -p ${HOME}/.doom.d/lisp/ob-ledger + _run "[curl] Installing local ob-ledger" curl -sLo ${HOME}/.doom.d/lisp/ob-ledger/ob-ledger.el \ + 'https://raw.githubusercontent.com/overtone/emacs-live/master/packs/stable/org-pack/lib/org-mode/lisp/ob-ledger.el' +fi + _run "[emacs-doom] Refreshing" $HOME/.emacs.d/bin/doom sync