aboutsummaryrefslogtreecommitdiff
path: root/external/nvim/neovim.nix
blob: c9f93d01efaecfd732f1c53bb889bebd0154c46f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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 ];
  });
}