diff options
| author | 2026-01-13 16:56:47 -0800 | |
|---|---|---|
| committer | 2026-01-13 16:56:47 -0800 | |
| commit | 6feb159ca243bfc6893cd2f46484a6d0bb0d44da (patch) | |
| tree | ab69b05ad2b85f0fe8993d2b6903d68780233b9d | |
| parent | 6bb2ba14c9db36ba283de2b6d444207a97ec3ea3 (diff) | |
| download | new-dotfiles-6feb159ca243bfc6893cd2f46484a6d0bb0d44da.tar.gz new-dotfiles-6feb159ca243bfc6893cd2f46484a6d0bb0d44da.zip | |
Use git master version of emacs-esh-autosuggest
| -rw-r--r-- | oni/packages/emacs-config.scm | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/oni/packages/emacs-config.scm b/oni/packages/emacs-config.scm index 59941b7..019a988 100644 --- a/oni/packages/emacs-config.scm +++ b/oni/packages/emacs-config.scm @@ -2,6 +2,7 @@ #:use-module (guix packages) #:use-module (guix git-download) #:use-module (guix build-system emacs) + #:use-module (guix transformations) #:use-module ((guix licenses) #:prefix license:) #:use-module (gnu packages emacs-xyz) #:use-module (gnu packages llvm) @@ -19,6 +20,12 @@ tree-sitter-bash)) #:use-module (oni packages emacs)) +(define (with-master-branch package) + "Apply a transformation to PACKAGE so that it uses the master branch." + ((options->transformation + `((with-branch . ,(string-append (package-name package) "=master")))) + package)) + (define-public emacs-oni-config (let ((commit "ea20080f5ce3a4e7f87455308afc30d21d5a8a24") @@ -620,7 +627,7 @@ Emacs"))) (arguments '(#:include '("oni-eshell.el"))) (propagated-inputs - `(("emacs-esh-autosuggest" ,emacs-esh-autosuggest) + `(("emacs-esh-autosuggest" ,(with-master-branch emacs-esh-autosuggest)) ("emacs-xterm-color" ,emacs-xterm-color) ("emacs-eshell-syntax-highlighting" ,emacs-eshell-syntax-highlighting) ("emacs-eshell-fringe-status" ,emacs-eshell-fringe-status))) |
