Skip to content

Commit db5258f

Browse files
committed
feat(emacs): enable copilot package and override attributes
- Added `copilot` to the AI package list in `default.nix` - Introduced an override for `copilot` to customize its attributes
1 parent 90e8585 commit db5258f

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

home-manager/packages/emacs/default.nix

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@
44
sources,
55
}:
66
let
7-
override = final: prev: { };
7+
override = final: prev: {
8+
copilot = prev.copilot.overrideAttrs (_: {
9+
postPatch = "";
10+
});
11+
};
812
in
913
{
1014
emacs-git = pkgs.emacsWithPackagesFromUsePackage {

home-manager/packages/emacs/epkgs/packages/ai/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
}:
44
with epkgs;
55
[
6-
# copilot
6+
copilot
77
copilot-chat
88
ellama
99
aidermacs

0 commit comments

Comments
 (0)