From c170e9f364cb057583e8c50f7a4b5a20c1ec0156 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sun, 11 Apr 2021 14:11:54 +0530 Subject: Adds nix config changes --- overlays/neovim.nix | 32 ++++++++++++++++++-------------- 1 file changed, 18 insertions(+), 14 deletions(-) (limited to 'overlays/neovim.nix') diff --git a/overlays/neovim.nix b/overlays/neovim.nix index ee584fb..f10bad9 100644 --- a/overlays/neovim.nix +++ b/overlays/neovim.nix @@ -1,17 +1,21 @@ 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 = "05659gqaczsschrhbr9q1xbq6bgqai97jpkb2axp3rb2hxv30d1c"; - }; + 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 = "1h1idmlyvydkihfr2n1bsp8c2w9jnlgvm7jqc0gmr4cvwaflcydf"; + }; - nativeBuildInputs = with self.pkgs; [ unzip cmake pkgconfig gettext tree-sitter-updated ]; - }); + nativeBuildInputs = with self.pkgs; [ unzip cmake pkgconfig gettext tree-sitter-updated ]; + } + ); } -- cgit v1.3.1