Skip to content

Commit

Permalink
tests/nixos: disable documentation to improve eval speed
Browse files Browse the repository at this point in the history
we are not testing any nixos modules, so we don't need to generate
documentation. This will give us a bit of speed up.
  • Loading branch information
Mic92 committed Dec 9, 2024
1 parent fcebfa3 commit bf7d627
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/nixos/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ let
# 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;

documentation.enable = false;

# this links against nix and might break with our git version.
system.tools.nixos-option.enable = false;
};
Expand Down

0 comments on commit bf7d627

Please sign in to comment.