forked from mirrors/nixpkgs
nixos: set all package options to have type package
This commit is contained in:
parent
f7c04b1e6b
commit
97a0dd9eb9
|
@ -77,7 +77,7 @@ in {
|
|||
};
|
||||
|
||||
package = mkOption {
|
||||
type = types.path;
|
||||
type = types.package;
|
||||
default = pulseaudio;
|
||||
example = literalExample "pulseaudio.override { jackaudioSupport = true; }";
|
||||
description = ''
|
||||
|
|
|
@ -49,6 +49,7 @@ in
|
|||
|
||||
package = mkOption {
|
||||
default = pkgs.firebirdSuper;
|
||||
type = types.package;
|
||||
/*
|
||||
Example: <code>package = pkgs.firebirdSuper.override { icu =
|
||||
pkgs.icu; };</code> which is not recommended for compatibility
|
||||
|
|
|
@ -39,6 +39,7 @@ in
|
|||
|
||||
package = mkOption {
|
||||
default = pkgs.mongodb;
|
||||
type = types.package;
|
||||
description = "
|
||||
Which MongoDB derivation to use.
|
||||
";
|
||||
|
|
|
@ -55,7 +55,7 @@ in
|
|||
};
|
||||
|
||||
package = mkOption {
|
||||
type = types.path;
|
||||
type = types.package;
|
||||
example = literalExample "pkgs.postgresql92";
|
||||
description = ''
|
||||
PostgreSQL package to use.
|
||||
|
|
|
@ -45,6 +45,7 @@ in
|
|||
package = mkOption {
|
||||
default = pkgs.redis;
|
||||
description = "Which Redis derivation to use.";
|
||||
type = types.package;
|
||||
};
|
||||
|
||||
user = mkOption {
|
||||
|
|
|
@ -42,6 +42,7 @@ in
|
|||
package = mkOption {
|
||||
default = pkgs.cgminer;
|
||||
description = "Which cgminer derivation to use.";
|
||||
type = types.package;
|
||||
};
|
||||
|
||||
user = mkOption {
|
||||
|
|
|
@ -58,7 +58,7 @@ in
|
|||
nix = {
|
||||
|
||||
package = mkOption {
|
||||
type = types.path;
|
||||
type = types.package;
|
||||
default = pkgs.nix;
|
||||
description = ''
|
||||
This option specifies the Nix package instance to use throughout the system.
|
||||
|
|
|
@ -419,7 +419,7 @@ in
|
|||
};
|
||||
|
||||
package = mkOption {
|
||||
type = types.path;
|
||||
type = types.package;
|
||||
default = pkgs.apacheHttpd.override { mpm = mainCfg.multiProcessingModule; };
|
||||
example = "pkgs.apacheHttpd_2_4";
|
||||
description = ''
|
||||
|
|
|
@ -25,6 +25,7 @@ in
|
|||
|
||||
package = mkOption {
|
||||
default = pkgs.nginx;
|
||||
type = types.package;
|
||||
description = "
|
||||
Nginx package to use.
|
||||
";
|
||||
|
|
Loading…
Reference in a new issue