1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
nixpkgs/lib
pennae fc614c37c6 nixos/documentation: split options doc build
most modules can be evaluated for their documentation in a very
restricted environment that doesn't include all of nixpkgs. this
evaluation can then be cached and reused for subsequent builds, merging
only documentation that has changed into the cached set. since nixos
ships with a large number of modules of which only a few are used in any
given config this can save evaluation a huge percentage of nixos
options available in any given config.

in tests of this caching, despite having to copy most of nixos/, saves
about 80% of the time needed to build the system manual, or about two
second on the machine used for testing. build time for a full system
config shrank from 9.4s to 7.4s, while turning documentation off
entirely shortened the build to 7.1s.
2022-01-02 19:46:13 +01:00
..
systems lib.systems.supported: remove aarch64-darwin from Tier 3 list 2021-12-16 17:51:21 +01:00
tests lib: fix flake check 2021-12-13 12:03:40 +01:00
asserts.nix
attrsets.nix
cli.nix
customisation.nix
debug.nix
default.nix
deprecated.nix
fetchers.nix
filesystem.nix
fixed-points.nix
flake.nix
generators.nix
kernel.nix
licenses.nix
lists.nix
meta.nix
minver.nix
modules.nix Merge pull request #148785 from pennae/more-option-doc-staticizing 2021-12-17 11:14:08 -05:00
options.nix nixos/documentation: split options doc build 2022-01-02 19:46:13 +01:00
sources.nix
strings-with-deps.nix
strings.nix
trivial.nix
types.nix
versions.nix
zip-int-bits.nix