0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

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 20:22:56 +01:00
parent 60c7bd1237
commit 7bdcfb33f4
No known key found for this signature in database
GPG key ID: D0EBD0EC8C2DC961
7 changed files with 7 additions and 0 deletions

View file

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

View file

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

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.

View file

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

View file

@ -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";
}; };

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.

View file

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