aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitmodules4
-rw-r--r--external/nvim/neovim.nix19
2 files changed, 21 insertions, 2 deletions
diff --git a/.gitmodules b/.gitmodules
index 76f089b..8cd1176 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,3 +1,3 @@
-[submodule "external/nvim/config"]
- path = external/nvim/config
+[submodule "~/nixos/external/nvim/config"]
+ path = ~/nixos/external/nvim/config
url = https://github.com/phenax/peepeepoopoo-nvim-config.git
diff --git a/external/nvim/neovim.nix b/external/nvim/neovim.nix
new file mode 100644
index 0000000..ef0254a
--- /dev/null
+++ b/external/nvim/neovim.nix
@@ -0,0 +1,19 @@
+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 ];
+ });
+}