Update emacs package to new emacs-overlay attributes and tree-sitter
This commit is contained in:
parent
b8a0f7eed0
commit
d9b20e86d9
3 changed files with 10 additions and 9 deletions
|
@ -78,10 +78,11 @@ in
|
|||
orgProtocolDesktop
|
||||
nodePackages.bash-language-server
|
||||
aspell
|
||||
lldb
|
||||
nil
|
||||
nixpkgs-fmt
|
||||
python3
|
||||
lldb
|
||||
(pkgs.tree-sitter.withPlugins builtins.attrValues)
|
||||
] ++
|
||||
(with aspellDicts; [ en en-computers en-science fy nl ]) ++
|
||||
(lib.optional (versionOlder cfg.package.version "29") (tree-sitter.withPlugins builtins.attrValues));
|
||||
|
|
|
@ -40,11 +40,10 @@ in
|
|||
dunst.enable = false;
|
||||
emacs = {
|
||||
enable = true;
|
||||
# package = with pkgs; ((emacsPackagesFor emacsPgtk).emacsWithPackages (epkgs: [ epkgs.emacsql epkgs.emacsql-sqlite ]));
|
||||
package = pkgs.emacsUnstablePgtk.override {
|
||||
treeSitterPlugins = builtins.attrValues (filterAttrs (_: isDerivation) pkgs.tree-sitter-grammars);
|
||||
};
|
||||
|
||||
package = pkgs.emacs-unstable-pgtk;
|
||||
# .override {
|
||||
# treeSitterPlugins = builtins.attrValues (filterAttrs (_: isDerivation) pkgs.tree-sitter-grammars);
|
||||
# }
|
||||
daemon = true;
|
||||
};
|
||||
electron = {
|
||||
|
|
|
@ -51,9 +51,10 @@ in
|
|||
dunst.enable = true;
|
||||
emacs = {
|
||||
enable = true;
|
||||
package = pkgs.emacsUnstable.override {
|
||||
treeSitterPlugins = builtins.attrValues (filterAttrs (_: isDerivation) pkgs.tree-sitter-grammars);
|
||||
};
|
||||
package = pkgs.emacs-unstable;
|
||||
# .override {
|
||||
# treeSitterPlugins = builtins.attrValues (filterAttrs (_: isDerivation) pkgs.tree-sitter-grammars);
|
||||
# };
|
||||
daemon = true;
|
||||
};
|
||||
firefox = {
|
||||
|
|
Loading…
Reference in a new issue