Skip to content

Commit

Permalink
make neovim follow nixpkgs
Browse files Browse the repository at this point in the history
  • Loading branch information
emattiza committed Jan 18, 2024
1 parent 007c324 commit defb23e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
extra-trusted-public-keys = "emattiza.cachix.org-1:DngCwMkBckEJbfnPU2/a01IgIczF1NmWmbNX4qoZK6w=";
};
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nix2container.url = "github:nlewo/nix2container";

neovimUnwrapped = {
Expand Down
4 changes: 2 additions & 2 deletions lib/buildPlugin.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
plugins,
...
}: final: prev: let
inherit (prev.vimUtils) buildVimPluginFrom2Nix;
inherit (prev.vimUtils) buildVimPlugin;

treesitterGrammars = prev.tree-sitter.withPlugins (p: [
p.tree-sitter-dockerfile
Expand Down Expand Up @@ -42,7 +42,7 @@
]);

buildPlug = name:
buildVimPluginFrom2Nix {
buildVimPlugin {
pname = name;
version = "master";
src = builtins.getAttr name inputs;
Expand Down

0 comments on commit defb23e

Please sign in to comment.