Skip to content

Commit 0b74366

Browse files
committed
emacs: fix broken treesitter package
1 parent 4ca3d80 commit 0b74366

File tree

2 files changed

+17
-13
lines changed

2 files changed

+17
-13
lines changed

flake.lock

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

home/modules/emacs/default.nix

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
{ inputs, pkgs, ... }:
22

33
let
4+
smallPkgs = inputs.small.legacyPackages.${pkgs.stdenv.hostPlatform.system};
5+
46
emacsConfig = pkgs.writeTextDir "config/init.el" ''
57
(load "${./init.el}")
68
'';
@@ -39,7 +41,9 @@ in
3941
org-contrib
4042

4143
# treesitter
42-
treesit-grammars.with-all-grammars
44+
# TODO: wait to reach unstable https://github.com/nixos/nixpkgs/pull/491704
45+
# treesit-grammars.with-all-grammars
46+
smallPkgs.emacsPackages.treesit-grammars.with-all-grammars
4347
];
4448
};
4549

0 commit comments

Comments
 (0)