nixos/varnish: fix default package name

This commit is contained in:
Franz Pletz 2019-11-13 14:55:28 +01:00
parent d6baaf10a1
commit 60f2e4f831
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4

View File

@ -15,8 +15,8 @@ in
package = mkOption { package = mkOption {
type = types.package; type = types.package;
default = pkgs.varnish5; default = pkgs.varnish;
defaultText = "pkgs.varnish5"; defaultText = "pkgs.varnish";
description = '' description = ''
The package to use The package to use
''; '';
@ -48,7 +48,7 @@ in
extraModules = mkOption { extraModules = mkOption {
type = types.listOf types.package; type = types.listOf types.package;
default = []; default = [];
example = literalExample "[ pkgs.varnish5Packages.geoip ]"; example = literalExample "[ pkgs.varnishPackages.geoip ]";
description = " description = "
Varnish modules (except 'std'). Varnish modules (except 'std').
"; ";