1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 20:21:14 +00:00
nixpkgs/nixos/modules/misc
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
..
assertions.nix Revert "Module-builtin assertions, disabling assertions and submodule assertions" 2020-12-18 16:44:37 +01:00
crashdump.nix kexec-tools: rename from kexectools to match the project name 2021-09-03 10:17:21 -04:00
documentation.nix nixos/documentation: split options doc build 2022-01-02 19:46:13 +01:00
extra-arguments.nix Move systemd-lib.nix and systemd-unit-options.nix into utils 2021-11-20 17:52:29 -05:00
ids.nix nixos: add sgx group with gid 304 2021-12-05 01:37:43 +02:00
label.nix
lib.nix
locate.nix Merge pull request #146345 from SuperSandro2000/locate-pruneBindMounts 2021-11-30 21:16:25 +01:00
meta.nix nixos/documentation: split options doc build 2022-01-02 19:46:13 +01:00
nixops-autoluks.nix
nixpkgs.nix nixos/documentation: split options doc build 2022-01-02 19:46:13 +01:00
passthru.nix
version.nix nixos/documentation: split options doc build 2022-01-02 19:46:13 +01:00