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/tree-sitter/libtree-sitter-swift.dylib".source = ./config/tree-sitter/libtree-sitter-swift.dylib;
|
||||
|
|
@ -8,7 +8,44 @@
|
|||
enable = true;
|
||||
extraConfig = builtins.readFile ./config/init.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
|
||||
apheleia
|
||||
avy
|
||||
|
|
@ -28,6 +65,7 @@
|
|||
flycheck
|
||||
flycheck-clj-kondo
|
||||
flycheck-swiftlint
|
||||
flymake-collection
|
||||
graphql-mode
|
||||
helpful
|
||||
htmlize
|
||||
|
|
@ -73,6 +111,6 @@
|
|||
vertico
|
||||
winpulse
|
||||
yasnippet
|
||||
]);
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue