nixos: Provide a defaultText for type = package

We don't want to build all those things along with the manual, so that's
what the defaultText attribute is for.

Unfortunately a few of them were missing, so let's add them.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig
2016-02-17 21:12:24 +01:00
parent 60c7bd1237
commit 7bdcfb33f4
7 changed files with 7 additions and 0 deletions
@@ -37,6 +37,7 @@ in
package = mkOption { package = mkOption {
type = types.package; type = types.package;
default = pkgs.slurm-llnl; default = pkgs.slurm-llnl;
defaultText = "pkgs.slurm-llnl";
example = literalExample "pkgs.slurm-llnl-full"; example = literalExample "pkgs.slurm-llnl-full";
description = '' description = ''
The packge to use for slurm binaries. The packge to use for slurm binaries.
@@ -61,6 +61,7 @@ in {
package = mkOption { package = mkOption {
type = types.package; type = types.package;
default = pkgs.matrix-synapse; default = pkgs.matrix-synapse;
defaultText = "pkgs.matrix-synapse";
description = '' description = ''
Overridable attribute of the matrix synapse server package to use. Overridable attribute of the matrix synapse server package to use.
''; '';
+1
View File
@@ -58,6 +58,7 @@ in
package = mkOption { package = mkOption {
type = types.package; type = types.package;
default = pkgs.plex; default = pkgs.plex;
defaultText = "pkgs.plex";
description = '' description = ''
The Plex package to use. Plex subscribers may wish to use their own The Plex package to use. Plex subscribers may wish to use their own
package here, pointing to subscriber-only server versions. package here, pointing to subscriber-only server versions.
@@ -33,6 +33,7 @@ in
package = mkOption { package = mkOption {
type = types.package; type = types.package;
default = pkgs.consul; default = pkgs.consul;
defaultText = "pkgs.consul";
description = '' description = ''
The package used for the Consul agent and CLI. The package used for the Consul agent and CLI.
''; '';
@@ -32,6 +32,7 @@ in {
package = mkOption { package = mkOption {
type = types.package; type = types.package;
default = pkgs.ejabberd; default = pkgs.ejabberd;
defaultText = "pkgs.ejabberd";
description = "ejabberd server package to use"; description = "ejabberd server package to use";
}; };
+1
View File
@@ -59,6 +59,7 @@ in
package = mkOption { package = mkOption {
default = pkgs.haka; default = pkgs.haka;
defaultText = "pkgs.haka";
type = types.package; type = types.package;
description = " description = "
Which Haka derivation to use. Which Haka derivation to use.
@@ -370,6 +370,7 @@ rec {
package = mkOption { package = mkOption {
type = types.package; type = types.package;
default = pkgs.owncloud70; default = pkgs.owncloud70;
defaultText = "pkgs.owncloud70";
example = literalExample "pkgs.owncloud70"; example = literalExample "pkgs.owncloud70";
description = '' description = ''
PostgreSQL package to use. PostgreSQL package to use.