aboutsummaryrefslogtreecommitdiff
path: root/overlays/neovim.nix
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2020-12-23 23:35:42 +0530
committerAkshay Nair <phenax5@gmail.com>2020-12-23 23:35:42 +0530
commit98bef4da05c50b9dbf0e0467df54d34947e4b1ae (patch)
tree6ab6af288d2c704aa84f38726d1884a251f0cc2b /overlays/neovim.nix
parent22b4aed9c5c8793e04d0a67202fe0f1cddf66817 (diff)
downloadnixos-config-98bef4da05c50b9dbf0e0467df54d34947e4b1ae.tar.gz
nixos-config-98bef4da05c50b9dbf0e0467df54d34947e4b1ae.zip
removes config from external + adds overlays directory
Diffstat (limited to 'overlays/neovim.nix')
-rw-r--r--overlays/neovim.nix17
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 ];
+ });
+}