Switching to unstable
This commit is contained in:
@@ -42,7 +42,7 @@ carefully so it doesn't get carried away...
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
rlwrap
|
||||
(sbcl.withPackages (ps: with ps; [
|
||||
((sbcl.withPackages (ps: with ps; [
|
||||
alexandria
|
||||
cl-markup
|
||||
cl-mock
|
||||
@@ -75,7 +75,14 @@ carefully so it doesn't get carried away...
|
||||
trivial-open-browser
|
||||
trivial-timeout
|
||||
uuid
|
||||
]))
|
||||
])).overrideAttrs (o: {
|
||||
# Work around nixpkgs' new empty-PATH-segment check in makeWrapper; the
|
||||
# lisp wrapper intentionally uses a trailing `:` (ASDF "inherit config").
|
||||
installPhase = builtins.replaceStrings
|
||||
[ "--prefix CL_SOURCE_REGISTRY :" "--prefix ASDF_OUTPUT_TRANSLATIONS :" ]
|
||||
[ "--set CL_SOURCE_REGISTRY" "--set ASDF_OUTPUT_TRANSLATIONS" ]
|
||||
o.installPhase;
|
||||
}))
|
||||
];
|
||||
}
|
||||
#+END_SRC
|
||||
@@ -807,21 +814,6 @@ Actually, nix *really* requires ~bash~. This is a plugin that allows using zsh f
|
||||
:END:
|
||||
|
||||
#+BEGIN_SRC nix
|
||||
(let gptel = (epkgs: epkgs.melpaBuild {
|
||||
pname = "gptel";
|
||||
version = "0.9.9.6";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "karthink";
|
||||
repo = "gptel";
|
||||
rev = "v0.9.9.6";
|
||||
sha256 = "sha256-jurm3AQz+NiKZh7ssJkQYP73EmBEoyjzuC4phARYBak=";
|
||||
};
|
||||
recipe = pkgs.writeText "gptel-recipe" ''
|
||||
(gptel :repo "karthink/gptel" :fetcher github)
|
||||
'';
|
||||
packageRequires = [ epkgs.transient ];
|
||||
});
|
||||
in
|
||||
{
|
||||
programs.claude-code = {
|
||||
enable = true;
|
||||
@@ -847,7 +839,6 @@ Actually, nix *really* requires ~bash~. This is a plugin that allows using zsh f
|
||||
|
||||
gptel = {
|
||||
enable = true;
|
||||
package = gptel;
|
||||
command = ["gptel"];
|
||||
bind."C-c g" = "gptel-menu";
|
||||
custom = {
|
||||
@@ -863,27 +854,13 @@ Actually, nix *really* requires ~bash~. This is a plugin that allows using zsh f
|
||||
|
||||
gptel-agent = {
|
||||
enable = true;
|
||||
package = (epkgs: epkgs.melpaBuild {
|
||||
pname = "gptel-agent";
|
||||
version = "20260823";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "karthink";
|
||||
repo = "gptel-agent";
|
||||
rev = "326e0abb8c6db0e5c4c421bd9af495932ae94b62";
|
||||
sha256 = "sha256-2eqY1MebzsDOpf3YEHy6o31TbpLA2iIPZMMVrscLYMk=";
|
||||
};
|
||||
recipe = pkgs.writeText "gptel-agent-recipe" ''
|
||||
(gptel-agent :fetcher github :repo "karthink/gptel-agent" :files (:defaults "agents"))
|
||||
'';
|
||||
packageRequires = [ (gptel epkgs) ];
|
||||
});
|
||||
after = ["gptel"];
|
||||
config = ''
|
||||
<<emacs-gptel-agent-config>>
|
||||
'';
|
||||
};
|
||||
};
|
||||
})
|
||||
}
|
||||
#+END_SRC
|
||||
|
||||
#+BEGIN_SRC elisp :tangle no :noweb-ref emacs-gptel-config
|
||||
|
||||
Reference in New Issue
Block a user