mirror of
https://github.com/iofq/nvim.nix.git
synced 2026-01-23 08:55:16 -06:00
update to nvim 0.9.4
This commit is contained in:
parent
dc80e6953d
commit
b0024a47ee
2 changed files with 14 additions and 13 deletions
12
flake.lock
generated
12
flake.lock
generated
|
|
@ -5,11 +5,11 @@
|
||||||
"systems": "systems"
|
"systems": "systems"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1681202837,
|
"lastModified": 1701680307,
|
||||||
"narHash": "sha256-H+Rh19JDwRtpVPAWp64F+rlEtxUWBAQW28eAi3SRSzg=",
|
"narHash": "sha256-kAuep2h5ajznlPMD9rnQyffWG8EM/C73lejGofXvdM8=",
|
||||||
"owner": "numtide",
|
"owner": "numtide",
|
||||||
"repo": "flake-utils",
|
"repo": "flake-utils",
|
||||||
"rev": "cfacdce06f30d2b68473a46042957675eebb3401",
|
"rev": "4022d587cbbfd70fe950c1e2083a02621806a725",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -20,11 +20,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1683717387,
|
"lastModified": 1703134684,
|
||||||
"narHash": "sha256-b4GSeKtDH+7wzw9VptHqIWOyIq28j7++rvRqhCEWFQ8=",
|
"narHash": "sha256-SQmng1EnBFLzS7WSRyPM9HgmZP2kLJcPAz+Ug/nug6o=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "1e8ab5db89c84b1bb29d8d10ea60766bb5cee1f2",
|
"rev": "d6863cbcbbb80e71cecfc03356db1cda38919523",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
||||||
15
flake.nix
15
flake.nix
|
|
@ -30,23 +30,24 @@
|
||||||
withRuby = false;
|
withRuby = false;
|
||||||
withPython3 = false;
|
withPython3 = false;
|
||||||
};
|
};
|
||||||
dependancies = with pkgs; [
|
dependencies = with pkgs; [
|
||||||
ripgrep
|
ripgrep
|
||||||
];
|
];
|
||||||
full-dependancies = with pkgs; [
|
full-dependencies = with pkgs; [
|
||||||
gopls
|
gopls
|
||||||
] ++ dependancies;
|
] ++ dependencies;
|
||||||
neovim-with-deps = recursiveMerge [
|
neovim-with-deps = recursiveMerge [
|
||||||
pkgs.neovim-unwrapped
|
pkgs.neovim-unwrapped
|
||||||
{ buildInputs = dependancies; }
|
{ buildInputs = dependencies; }
|
||||||
];
|
];
|
||||||
neovim-with-full-deps = recursiveMerge [
|
neovim-with-full-deps = recursiveMerge [
|
||||||
pkgs.neovim-unwrapped
|
pkgs.neovim-unwrapped
|
||||||
{ buildInputs = full-dependancies; }
|
{ buildInputs = full-dependencies; }
|
||||||
];
|
];
|
||||||
in rec {
|
in rec {
|
||||||
packages.full = pkgs.wrapNeovim neovim-with-full-deps (base // {
|
packages.full = pkgs.wrapNeovim neovim-with-full-deps (base // {
|
||||||
extraMakeWrapperArgs = ''--prefix PATH : "${pkgs.lib.makeBinPath full-dependancies}"'';
|
withPython3 = true;
|
||||||
|
extraMakeWrapperArgs = ''--prefix PATH : "${pkgs.lib.makeBinPath full-dependencies}"'';
|
||||||
configure = {
|
configure = {
|
||||||
customRC =
|
customRC =
|
||||||
''
|
''
|
||||||
|
|
@ -64,7 +65,7 @@
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
packages.minimal = pkgs.wrapNeovim neovim-with-deps (base // {
|
packages.minimal = pkgs.wrapNeovim neovim-with-deps (base // {
|
||||||
extraMakeWrapperArgs = ''--prefix PATH : "${pkgs.lib.makeBinPath dependancies}"'';
|
extraMakeWrapperArgs = ''--prefix PATH : "${pkgs.lib.makeBinPath dependencies}"'';
|
||||||
configure = {
|
configure = {
|
||||||
customRC =
|
customRC =
|
||||||
''
|
''
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue