lazy.nvim.nix/default.nix
2024-05-05 16:18:30 +02:00

15 lines
431 B
Nix

{ lib, pkgs }:
let
luaUtils = import ./pkgs/luaUtils.nix { inherit lib pkgs; };
lazyUtils = import ./pkgs/lazyUtils.nix { inherit lib luaUtils pkgs; };
wrapNeovimLazy = pkgs.callPackage ./pkgs/wrapper.nix { inherit lazyUtils; };
in
{
# https://github.com/NixOS/rfcs/pull/166
formatter = pkgs.nixfmt-rfc-style;
packages = {
inherit wrapNeovimLazy;
neovim-lazy = wrapNeovimLazy pkgs.neovim-unwrapped { };
};
}