nix-community.nixvim/flake-modules/packages.nix

20 lines
397 B
Nix
Raw Normal View History

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