aboutsummaryrefslogtreecommitdiff
path: root/overlays/neovim.nix
blob: 1118d94032af0596d4d3ac750c66f815848ed291 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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 = "145mzl1pzqy0ic9gm0322z9ssvbyj0v9xiqs7k0wmi8b0590xg8s";
      };

      nativeBuildInputs = with self.pkgs; [ unzip cmake pkg-config gettext tree-sitter-updated ];
    }
  );
}