diff options
| author | Cayetano Santos <csantosb@inventati.org> | 2026-02-14 10:26:28 +0100 |
|---|---|---|
| committer | Cayetano Santos <csantosb@inventati.org> | 2026-02-14 10:28:17 +0100 |
| commit | d2c12da9415b0bdfd50416d9b73135b3b6d76075 (patch) | |
| tree | 808e8b6865c03716ca4159d82bca0cf8b0523053 | |
| parent | c6d043f8f545c2d7df967d686135328a3662f846 (diff) | |
gnu: emacs-elisp-autofmt: Update to 0.1-2.8aa1ac5.
* gnu/packages/emacs-xyz.scm (emacs-elisp-autofmt): Update to
0.1-2.8aa1ac5.
[arguments]: Add ’use-appropriate-python #:phase.
Change-Id: I00c3fea14cbe5da65645579e7d920c71a98759d7
| -rw-r--r-- | gnu/packages/emacs-xyz.scm | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index cee5b09a053..3a39875005a 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -378,8 +378,9 @@ buffer, a file on your disk, or a string from the kill ring.") (license license:gpl3+)))) (define-public emacs-elisp-autofmt - (let ((commit "c2765641a9bd2b4c979e7055030fb7a145b6c118") - (revision "1")) + ;; No tags, nor releases upstream. + (let ((commit "8aa1ac5db6bfcd23dd73f988b5f15ab7b4d0e102") + (revision "2")) (package (name "emacs-elisp-autofmt") (version (git-version "0.1" revision commit)) @@ -391,7 +392,7 @@ buffer, a file on your disk, or a string from the kill ring.") (commit commit))) (file-name (git-file-name name version)) (sha256 - (base32 "0hgmlbxabzhwc1kw59hxvi9xgk6fh0jar4k82sb8yn1zznzhr0lk")) + (base32 "1v5mxq8dqj7hvm5hgxi85jj38jmbxn6yfsy0qd91phc3n1lr3kgp")) (patches (search-patches "emacs-elisp-autofmt-fix-region-send.patch")))) (build-system emacs-build-system) @@ -404,6 +405,11 @@ buffer, a file on your disk, or a string from the kill ring.") %default-include) #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'use-appropriate-python + (lambda* (#:key inputs #:allow-other-keys) + (emacs-substitute-variables "elisp-autofmt.el" + ("elisp-autofmt-python-bin" + (search-input-file inputs "/bin/python3"))))) ;; TODO Remove when fixed upstream. See: ;; <https://codeberg.org/ideasman42/emacs-elisp-autofmt/issues/36>. (add-before 'check 'fix-tests |
