mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-17 01:24:47 +00:00
Merge pull request #324565 from Pandapip1/patch-3
nixos/httpd: Use mkEnableOption
This commit is contained in:
commit
7cf6d9246e
@ -538,25 +538,13 @@ in
|
||||
'';
|
||||
};
|
||||
|
||||
enableMellon = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = "Whether to enable the mod_auth_mellon module.";
|
||||
};
|
||||
enableMellon = mkEnableOption "the mod_auth_mellon module";
|
||||
|
||||
enablePHP = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = "Whether to enable the PHP module.";
|
||||
};
|
||||
enablePHP = mkEnableOption "the PHP module";
|
||||
|
||||
phpPackage = mkPackageOption pkgs "php" { };
|
||||
|
||||
enablePerl = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = "Whether to enable the Perl module (mod_perl).";
|
||||
};
|
||||
enablePerl = mkEnableOption "the Perl module (mod_perl)";
|
||||
|
||||
phpOptions = mkOption {
|
||||
type = types.lines;
|
||||
|
Loading…
Reference in New Issue
Block a user