nix-community.nixvim/flake-modules/packages.nix
2024-07-06 00:32:42 +01:00

15 lines
384 B
Nix

{ getHelpers, ... }:
{
perSystem =
{ pkgsUnfree, config, ... }:
{
packages = import ../docs {
inherit getHelpers;
# 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;
};
}