diff options
Diffstat (limited to 'overlays/neovim.nix')
| -rw-r--r-- | overlays/neovim.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/overlays/neovim.nix b/overlays/neovim.nix new file mode 100644 index 0000000..172ed0c --- /dev/null +++ b/overlays/neovim.nix @@ -0,0 +1,17 @@ +self: super: { + tree-sitter-updated = super.tree-sitter.overrideAttrs (oldAttrs: { + postInstall = ''PREFIX=$out make install''; + }); + neovim-unwrapped = super.neovim-unwrapped.overrideAttrs (oldAttrs: rec { + name = "neovim-nightly"; + version = "0.5-nightly"; + src = self.fetchFromGitHub { + owner = "neovim"; + repo = "neovim"; + rev = "nightly"; + sha256 = "0vpjdd32lgzyh85gyazqpms8vmaad6px3zx2svdxhvcdxgschqz9"; + }; + + nativeBuildInputs = with self.pkgs; [ unzip cmake pkgconfig gettext tree-sitter-updated ]; + }); +} |
