nixpkgs/nixos/modules/profiles
aszlig c5bb43188d
nixos: Fix eval error for documentation.nixos
Introduced by 0f3b89bbed.

If services.nixosManual.showManual is enabled and
documentation.nixos.enable is not, there is no
config.system.build.manual available, so evaluation fails. For example
this is the case for the installer tests.

There is however an assertion which should catch exactly this, but it
isn't thrown because the usage of config.system.build.manual is
evaluated earlier than the assertions.

So I split the assertion off into a separate mkIf to make sure it is
shown appropriately and also fixed the installation-device profile to
enable documentation.nixos.

Signed-off-by: aszlig <aszlig@nix.build>
Cc: @oxij
2018-09-25 23:39:44 +02:00
..
all-hardware.nix usb-storage -> uas 2018-08-23 01:42:34 +00:00
base.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
clone-config.nix [bot]: remove unreferenced code 2018-07-20 18:48:37 +00:00
demo.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
docker-container.nix make-system-tarball: allow alternate compression methods 2018-04-03 11:30:43 -03:00
graphical.nix Merge pull request #47296 from matthewbauer/closure-size-reductions 2018-09-24 23:21:02 +02:00
hardened.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
headless.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
installation-device.nix nixos: Fix eval error for documentation.nixos 2018-09-25 23:39:44 +02:00
minimal.nix nixos: doc: fix minimal profile and installer configs 2018-09-24 21:07:59 +00:00
qemu-guest.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00