-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy pathoverlay.nix
65 lines (62 loc) · 3.64 KB
/
overlay.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
final: prev:
{
mkTreesitter = final.callPackage ./nix/mkTreesitter.nix { };
fetchNvimTsLockFile = final.callPackage ./nix/nvim-treesitter-lock-file.nix { };
generate-nvim-treesitter-parsers = final.callPackage ./nix/nvim-treesitter-parsers.nix { };
treesitter-plugin-nightly = final.generate-nvim-treesitter-parsers [
{ name = "bash"; hash = "sha256-MwNk0TdqMqcUZFdONZim2yUZNblcaZSF9Rg1+LRCofM="; }
{ name = "c"; hash = "sha256-FBELk9G2j30hds+lUAQyH4g6lA2zY1BhEA7lqbwLO4Q="; }
{ name = "cpp"; hash = "sha256-+YUH//H+skIC2EH8L+OJv5Go6a7l+5/N52oy5o+LWQ8="; }
{ name = "css"; hash = "sha256-8Lb2qDwZUIpXiN7GbiKgcVwgqcKDWSUeUAvPNfqzsdA="; }
{ name = "comment"; hash = "sha256-XSkreGkg8yhTDPBPU2yZ8apXcEbNJ0csjv5xnp9vvwQ="; }
{ name = "diff"; hash = "sha256-Q61DD6CX81M3npBflPE5P3glMdfCNB877juXFgKqu7Q="; }
{ name = "firrtl"; hash = "sha256-xrh8XlgcFz+Z1Rh7z1KZWV26RE65hVtIKjw9XPZaXuA="; }
{ name = "gitcommit"; hash = "sha256-DDBJYsJNQggyuW2IsB2zjDPEqen7mKhe7Xj5o0DwUWQ="; }
{ name = "haskell"; hash = "sha256-CW6yMY9bDUq7rB4JjaDK7anWNei5RenovwK+i0+dVZQ="; }
{ name = "javascript"; hash = "sha256-BWUW2wr5cvbNTZCMn3tn1vfOFEASYTLLgKnd848bVRU="; }
{ name = "typescript"; hash = "sha256-u0gKMzytoSxBwR0pzFV8FTNXi7pepqDkcRs0RyCWLNw="; srcRoot = "typescript"; }
{ name = "tsx"; hash = "sha256-u0gKMzytoSxBwR0pzFV8FTNXi7pepqDkcRs0RyCWLNw="; srcRoot = "tsx"; }
{ name = "typst"; hash = "sha256-nUrndgD1wEfC3HNpTaj9xfYZi3fE9VoRf+etJc9oz8k="; }
{ name = "llvm"; hash = "sha256-3/WPq64L+L0ewbrbvihkeuLOCoS7XhiKQnFIwS3i4HY="; }
{ name = "lua"; hash = "sha256-bWW1MZQukBCTRGxBHXZY0vQ8MwFrft8GuNDatfPhYDI="; }
{ name = "ocaml"; hash = "sha256-3Z5qpoMk4sT0dLTQzTqV8QwkA6cs44VOi01RSh7Cx4M="; srcRoot = "grammars/ocaml"; }
{ name = "ocaml_interface"; hash = "sha256-3Z5qpoMk4sT0dLTQzTqV8QwkA6cs44VOi01RSh7Cx4M="; srcRoot = "grammars/interface"; }
{ name = "regex"; hash = "sha256-HXzc5qQEhLZbnDUUXsq13S0NzopYg/t7le2YKqpSF54="; }
{ name = "ruby"; hash = "sha256-5SDUzaKAXbgrWkTshLoEjjDZF3CFG0oXNJDg1F5MtVU="; }
{ name = "python"; hash = "sha256-nIdYYLiTsmAe3o+A4ZGDfBkqcjyOPvu/Jvt4Q8FJuuQ="; }
{ name = "rust"; hash = "sha256-snBugAU0Cp7SCxEJmJ77MbUvNpztVeOJZUR6fLrV0JU="; }
{ name = "proto"; hash = "sha256-eDnzT35wGxFzhcvy61d+1VG8ObB999mcakG3NNlrcck="; }
{ name = "scala"; hash = "sha256-sfn34imRxJeev+JWP611X+94lF0YPBA042E8BVCy+IM="; }
{ name = "nix"; hash = "sha256-uqL3VItyTsN0LXwI7DdVeZHlWSpkD+W94ZGVyl5xGlo="; }
{ name = "vimdoc"; hash = "sha256-zcUVFK2CCGiHk7jfx2QwXmjOAApBnM0Q9HyMMiDhCHU="; }
{ name = "query"; hash = "sha256-ZiOUv4h/pZtJvEmPPVs0X2vscm8oEQJ8aI/5hW6CV8s="; }
{
name = "markdown";
hash = "sha256-A05oSxMZ9oMVGW/ampKMNxltgqG2ffPIWDTLbXeFM/o=";
srcRoot = "tree-sitter-markdown";
}
{
name = "markdown_inline";
hash = "sha256-A05oSxMZ9oMVGW/ampKMNxltgqG2ffPIWDTLbXeFM/o=";
srcRoot = "tree-sitter-markdown-inline";
}
{
name = "mlir";
hash = "sha256-Vfft3T1Neq4QlXaNI9Leo/j77PcRIKsj8FL03Ot+spM=";
needs_generate = true;
}
{ name = "yaml"; hash = "sha256-8z/jqz2XZ9dJgZQigki7TS0UYhSQGpcY84IE4B0HStQ="; }
{ name = "zig"; hash = "sha256-x69bGpkvyv/fUKEamXT7+PCdIMTZ70IkWskMFS3TqFo="; }
];
neovim-nightly-bin = final.neovim-unwrapped.overrideAttrs {
# Disable default treesitter plugins, they are outdated
treesitter-parsers = { };
};
neovim-nightly = final.wrapNeovim final.neovim-nightly-bin {
extraMakeWrapperArgs = '' '--add-flags' '--cmd "set rtp^=${final.treesitter-plugin-nightly}"' '';
};
ghc-for-ts-plugins = final.haskellPackages.ghcWithPackages (pkgs: with pkgs; [
aeson
turtle
]);
}