Merge pull request #207874 from kevincox/nginx-unique
nixos/nginx: Deduplicate modules.
This commit is contained in:
commit
c930fd9517
1 changed files with 1 additions and 1 deletions
|
@ -571,7 +571,7 @@ in
|
|||
defaultText = literalExpression "pkgs.nginxStable";
|
||||
type = types.package;
|
||||
apply = p: p.override {
|
||||
modules = p.modules ++ cfg.additionalModules;
|
||||
modules = lib.unique (p.modules ++ cfg.additionalModules);
|
||||
};
|
||||
description = lib.mdDoc ''
|
||||
Nginx package to use. This defaults to the stable version. Note
|
||||
|
|
Loading…
Reference in a new issue