flake: use toplevel instead of deprecated

This commit is contained in:
Dmitriy Pleshevskiy 2024-05-05 18:11:16 +03:00
parent 25f1e6722f
commit dac0e3f48f
Signed by: pleshevskiy
GPG key ID: 17041163DA10A9A2

View file

@ -16,7 +16,7 @@
mkNixeovim = { system, config }: mkNixeovim = { system, config }:
let pkgs = import nixpkgs { inherit system; }; in let pkgs = import nixpkgs { inherit system; }; in
import ./. { inherit config pkgs nix2lua; }; import ./. { inherit config pkgs nix2lua; };
mkNixeovimPackage = args: (mkNixeovim args).build.neovim.package; mkNixeovimPackage = args: (mkNixeovim args).build.neovim.toplevel;
in in
{ {
lib = { inherit mkNixeovim mkNixeovimPackage; }; lib = { inherit mkNixeovim mkNixeovimPackage; };