Rust stuff and eat
instead of vterm
This commit is contained in:
parent
56dae7c314
commit
0f4d751e3d
6 changed files with 53 additions and 8 deletions
|
@ -8,10 +8,27 @@
|
|||
inputs',
|
||||
pkgs,
|
||||
final,
|
||||
lib,
|
||||
system,
|
||||
...
|
||||
}: let
|
||||
inherit (inputs.emacs-overlay.overlays.default pkgs pkgs) emacsPackagesFor;
|
||||
in {
|
||||
# Some tree-sitter grammars in nixpksg are built with a too new ABI
|
||||
# https://github.com/NixOS/nixpkgs/issues/209114
|
||||
_module.args.pkgs = inputs.nixpkgs.legacyPackages.${system}.extend (self: super: {
|
||||
tree-sitter-grammars =
|
||||
super.tree-sitter-grammars
|
||||
// {
|
||||
tree-sitter-rust = super.tree-sitter-grammars.tree-sitter-rust.overrideAttrs (_: {
|
||||
nativeBuildInputs = [self.nodejs self.tree-sitter];
|
||||
configurePhase = ''
|
||||
tree-sitter generate --abi 13 src/grammar.json
|
||||
'';
|
||||
});
|
||||
};
|
||||
});
|
||||
|
||||
packages = {
|
||||
ccrEmacsWithoutPackages =
|
||||
(inputs'.emacs-overlay.packages.emacsPgtk.override {
|
||||
|
|
|
@ -49,7 +49,10 @@ with epkgs; [
|
|||
eshell-syntax-highlighting
|
||||
projectile
|
||||
consult-projectile
|
||||
|
||||
eat
|
||||
rust-mode
|
||||
rustic
|
||||
|
||||
# TODO playing with these
|
||||
sway
|
||||
shackle
|
||||
|
|
Reference in a new issue