nixos/nginx: disable configuration validation for now

There still seem a lot of breakages not addressed yet:

https://github.com/NixOS/nixpkgs/pull/205561
This commit is contained in:
Jörg Thalheim 2022-12-24 09:25:13 +01:00
parent 27392c3cb3
commit 7ef58bce9d

View file

@ -524,7 +524,9 @@ in
}; };
validateConfig = mkOption { validateConfig = mkOption {
default = pkgs.stdenv.hostPlatform == pkgs.stdenv.buildPlatform; # FIXME: re-enable if we can make of the configurations work.
#default = pkgs.stdenv.hostPlatform == pkgs.stdenv.buildPlatform;
default = false;
defaultText = literalExpression "pkgs.stdenv.hostPlatform == pkgs.stdenv.buildPlatform"; defaultText = literalExpression "pkgs.stdenv.hostPlatform == pkgs.stdenv.buildPlatform";
type = types.bool; type = types.bool;
description = lib.mdDoc '' description = lib.mdDoc ''