mirror of
https://github.com/iofq/nvim.nix.git
synced 2026-01-23 00:45:17 -06:00
polish git, mini config
This commit is contained in:
parent
0c5b3d23ae
commit
c4ddbfc40c
10 changed files with 102 additions and 104 deletions
|
|
@ -29,25 +29,25 @@
|
|||
vimAlias = true;
|
||||
withRuby = false;
|
||||
withPython3 = false;
|
||||
extraMakeWrapperArgs = ''--prefix PATH : "${pkgs.lib.makeBinPath dependancies}"'';
|
||||
};
|
||||
dependancies = with pkgs; [
|
||||
ripgrep
|
||||
lazygit
|
||||
];
|
||||
full-dependancies = with pkgs; [
|
||||
go
|
||||
gopls
|
||||
];
|
||||
] ++ dependancies;
|
||||
neovim-with-deps = recursiveMerge [
|
||||
pkgs.neovim-unwrapped
|
||||
{ buildInputs = dependancies; }
|
||||
];
|
||||
neovim-with-full-deps = recursiveMerge [
|
||||
pkgs.neovim-unwrapped
|
||||
{ buildInputs = dependancies ++ full-dependancies; }
|
||||
{ buildInputs = full-dependancies; }
|
||||
];
|
||||
in rec {
|
||||
packages.full = pkgs.wrapNeovim neovim-with-full-deps (base // {
|
||||
extraMakeWrapperArgs = ''--prefix PATH : "${pkgs.lib.makeBinPath full-dependancies}"'';
|
||||
configure = {
|
||||
customRC =
|
||||
''
|
||||
|
|
@ -64,6 +64,7 @@
|
|||
};
|
||||
});
|
||||
packages.minimal = pkgs.wrapNeovim neovim-with-deps (base // {
|
||||
extraMakeWrapperArgs = ''--prefix PATH : "${pkgs.lib.makeBinPath dependancies}"'';
|
||||
configure = {
|
||||
customRC =
|
||||
''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue