1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-24 22:11:15 +02:00

tests/nixos: disable documentation to improve eval speed

we are not testing any nixos modules, so we don't need to generate
documentation. This will give us a bit of speed up.
This commit is contained in:
Jörg Thalheim 2024-12-09 16:05:37 +01:00
parent 35dd19d785
commit 9b40618d2e

View file

@ -23,6 +23,9 @@ let
nix.checkAllErrors = false;
# TODO: decide which packaging stage to use. `nix-cli` is efficient, but not the same as the user-facing `everything.nix` package (`default`). Perhaps a good compromise is `everything.nix` + `noTests` defined above?
nix.package = nixpkgsFor.${system}.native.nixComponents.nix-cli;
# Evaluate VMs faster
documentation.enable = false;
};
_module.args.nixpkgs = nixpkgs;
_module.args.system = system;