Overwrite emacs package with newer agent shell version
This commit is contained in:
parent
bfc0d191ca
commit
f15dd52e68
1 changed files with 105 additions and 67 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, lib, ... }:
|
||||||
{
|
{
|
||||||
home.file.".emacs.d/early-init.el".source = ./config/early-init.el;
|
home.file.".emacs.d/early-init.el".source = ./config/early-init.el;
|
||||||
home.file.".emacs.d/tree-sitter/libtree-sitter-swift.dylib".source = ./config/tree-sitter/libtree-sitter-swift.dylib;
|
home.file.".emacs.d/tree-sitter/libtree-sitter-swift.dylib".source = ./config/tree-sitter/libtree-sitter-swift.dylib;
|
||||||
|
|
@ -8,7 +8,44 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
extraConfig = builtins.readFile ./config/init.el +
|
extraConfig = builtins.readFile ./config/init.el +
|
||||||
builtins.readFile ./config/lisp/utils.el;
|
builtins.readFile ./config/lisp/utils.el;
|
||||||
extraPackages = epkgs: (with epkgs; [
|
extraPackages = epkgs:
|
||||||
|
let
|
||||||
|
myEpkgs = epkgs.overrideScope (final: prev: {
|
||||||
|
shell-maker = prev.shell-maker.overrideAttrs (_: {
|
||||||
|
version = "0.90.1";
|
||||||
|
src = pkgs.fetchFromGitHub {
|
||||||
|
owner = "xenodium";
|
||||||
|
repo = "shell-maker";
|
||||||
|
rev = "55f829d179608a3c4b11e86427713d5be7c4bb58";
|
||||||
|
hash = "sha256-tFzyVXxgrR6LOPUhX4MgJNLy3PX+pwprjdYi+IZXr+E=";
|
||||||
|
};
|
||||||
|
});
|
||||||
|
|
||||||
|
agent-shell = final.melpaBuild {
|
||||||
|
pname = "agent-shell";
|
||||||
|
ename = "agent-shell";
|
||||||
|
version = "0.47.3";
|
||||||
|
|
||||||
|
src = pkgs.fetchFromGitHub {
|
||||||
|
owner = "xenodium";
|
||||||
|
repo = "agent-shell";
|
||||||
|
rev = "v0.50.1";
|
||||||
|
hash = "sha256-y3WKd7w9zNebNlP3phMLmMbrFd+MHqwwJH/dUP6VSlo=";
|
||||||
|
};
|
||||||
|
|
||||||
|
packageRequires = with final; [
|
||||||
|
acp
|
||||||
|
shell-maker
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = "https://github.com/xenodium/agent-shell";
|
||||||
|
description = "Native agentic integrations for Claude Code, Gemini CLI, etc";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
});
|
||||||
|
in
|
||||||
|
with myEpkgs; [
|
||||||
agent-shell
|
agent-shell
|
||||||
apheleia
|
apheleia
|
||||||
avy
|
avy
|
||||||
|
|
@ -28,6 +65,7 @@
|
||||||
flycheck
|
flycheck
|
||||||
flycheck-clj-kondo
|
flycheck-clj-kondo
|
||||||
flycheck-swiftlint
|
flycheck-swiftlint
|
||||||
|
flymake-collection
|
||||||
graphql-mode
|
graphql-mode
|
||||||
helpful
|
helpful
|
||||||
htmlize
|
htmlize
|
||||||
|
|
@ -73,6 +111,6 @@
|
||||||
vertico
|
vertico
|
||||||
winpulse
|
winpulse
|
||||||
yasnippet
|
yasnippet
|
||||||
]);
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue