3
0
Fork 0
forked from mirrors/nixpkgs

nixos: set all package options to have type package

This commit is contained in:
Domen Kožar 2014-02-27 13:22:04 +01:00
parent f7c04b1e6b
commit 97a0dd9eb9
9 changed files with 9 additions and 4 deletions

View file

@ -77,7 +77,7 @@ in {
};
package = mkOption {
type = types.path;
type = types.package;
default = pulseaudio;
example = literalExample "pulseaudio.override { jackaudioSupport = true; }";
description = ''

View file

@ -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

View file

@ -39,6 +39,7 @@ in
package = mkOption {
default = pkgs.mongodb;
type = types.package;
description = "
Which MongoDB derivation to use.
";

View file

@ -55,7 +55,7 @@ in
};
package = mkOption {
type = types.path;
type = types.package;
example = literalExample "pkgs.postgresql92";
description = ''
PostgreSQL package to use.

View file

@ -45,6 +45,7 @@ in
package = mkOption {
default = pkgs.redis;
description = "Which Redis derivation to use.";
type = types.package;
};
user = mkOption {

View file

@ -42,6 +42,7 @@ in
package = mkOption {
default = pkgs.cgminer;
description = "Which cgminer derivation to use.";
type = types.package;
};
user = mkOption {

View file

@ -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.

View file

@ -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 = ''

View file

@ -25,6 +25,7 @@ in
package = mkOption {
default = pkgs.nginx;
type = types.package;
description = "
Nginx package to use.
";