nix-community.nixvim/flake-modules/packages.nix
traxys 29225c2797
docs: Correctly generate documentation for types either a (submodule ...) (#929)
This requires pulling quite a lot of code from nixpkgs in order to
make the `either` type work correctly, the effects can be seen for
example in the documentation of `ollama.promps` and `ollama.actions`
2024-01-12 23:22:03 +01:00

16 lines
271 B
Nix

{
perSystem = {
pkgs,
config,
modules,
...
}: {
packages = import ../docs {
inherit modules pkgs;
inherit (pkgs) lib;
};
# Test that all packages build fine when running `nix flake check`.
checks = config.packages;
};
}