lazy.nvim.nix/default.nix

18 lines
546 B
Nix
Raw Normal View History

2024-05-04 17:40:22 +02:00
{ lib, pkgs }:
2024-05-05 16:18:30 +02:00
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; };
2024-05-18 11:07:17 +02:00
legacyPackages = {
inherit wrapNeovimLazy;
neovim-lazy = wrapNeovimLazy pkgs.neovim-unwrapped { };
};
2024-05-05 16:18:30 +02:00
in
2024-05-04 17:40:22 +02:00
{
# https://github.com/NixOS/rfcs/pull/166
formatter = pkgs.nixfmt-rfc-style;
2024-05-18 11:07:17 +02:00
inherit legacyPackages;
packages = lib.filterAttrs (name: value: lib.isDerivation value) legacyPackages;
2024-05-04 17:40:22 +02:00
}