mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-24 17:58:38 +02:00
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>
20 lines
426 B
Nix
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;
|
|
};
|
|
}
|