test: add test nixosSearch

This checks that creating module docs for search.nixos.org succceeds.
Errors can happen when complex `default` values can't be evaluated
or on malformed Docbook XML in descriptions.
This commit is contained in:
Erik Arvstedt 2021-12-08 04:07:32 +01:00
parent 77d8c00c53
commit eaf98f92db
No known key found for this signature in database
GPG key ID: 33312B944DD97846
4 changed files with 71 additions and 0 deletions

View file

@ -0,0 +1,9 @@
# This flake just mirrors input `nixos-search`.
# Because `nixos-search` is a dev-only dependency, we don't add
# it to the main flake.
{
inputs.nixos-search.url = "github:nixos/nixos-search";
outputs = { self, nixos-search }: {
inherit (nixos-search) packages;
};
}