nix-community.nixvim/flake-modules/packages.nix
Sefa Eyeoglu aa4afbeac2
docs: use lib.extend instead of patching nixpkgs
This speeds up evaluation and removes IFD. Additionally, this makes it
easier to maintain these library changes, as we don't have to maintain
static patches.

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-06-06 11:13:52 +01:00

20 lines
426 B
Nix

{
perSystem =
{
pkgsUnfree,
config,
rawModules,
helpers,
...
}:
{
packages = import ../docs {
inherit rawModules helpers;
# Building the docs evaluates each plugin's default package, some of which are unfree
pkgs = pkgsUnfree;
};
# Test that all packages build fine when running `nix flake check`.
checks = config.packages;
};
}