emacs: Follow emacs-29 branch instead of master
This commit is contained in:
parent
8882086b63
commit
e717eb7356
1 changed files with 15 additions and 2 deletions
|
@ -17,7 +17,7 @@ in
|
|||
home.username = "erwin";
|
||||
home.homeDirectory = "/home/erwin";
|
||||
home.sessionVariables = {
|
||||
EDITOR = "${pkgs.neovim}/bin/nvim";
|
||||
EDITOR = "${config.home-manager.users.erwin.eboskma.programs.emacs.package}/bin/emacsclient -c";
|
||||
};
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
@ -42,7 +42,20 @@ in
|
|||
emacs = {
|
||||
enable = true;
|
||||
# package = with pkgs; ((emacsPackagesFor emacsPgtk).emacsWithPackages (epkgs: [ epkgs.emacsql epkgs.emacsql-sqlite ]));
|
||||
package = pkgs.emacsPgtk;
|
||||
package =
|
||||
let
|
||||
emacs29 = pkgs.emacsPgtk.overrideAttrs (_: {
|
||||
src = pkgs.fetchFromSavannah {
|
||||
repo = "emacs";
|
||||
rev = "3bdbb66efb9895b8ed55270075fa7d8329f8d36b";
|
||||
sha256 = "NjzWCNDCDc94aDf6nmH0K4GNk/li+a2QAuwDMrPibrE=";
|
||||
};
|
||||
});
|
||||
in
|
||||
emacs29.override {
|
||||
treeSitterPlugins = builtins.attrValues (filterAttrs (_: isDerivation) pkgs.tree-sitter-grammars);
|
||||
};
|
||||
|
||||
daemon = true;
|
||||
};
|
||||
electron = {
|
||||
|
|
Loading…
Reference in a new issue