mirror of
https://github.com/hercules-ci/flake-parts.git
synced 2024-12-14 11:47:31 +00:00
Add more descriptions
This commit is contained in:
parent
0405415b90
commit
06ebe54ddb
4 changed files with 26 additions and 0 deletions
|
@ -15,6 +15,9 @@ in
|
||||||
checks = mkOption {
|
checks = mkOption {
|
||||||
type = types.lazyAttrsOf (types.lazyAttrsOf types.package);
|
type = types.lazyAttrsOf (types.lazyAttrsOf types.package);
|
||||||
default = { };
|
default = { };
|
||||||
|
description = ''
|
||||||
|
Derivations to be built by nix flake check.
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -38,6 +41,9 @@ in
|
||||||
checks = mkOption {
|
checks = mkOption {
|
||||||
type = types.lazyAttrsOf types.package;
|
type = types.lazyAttrsOf types.package;
|
||||||
default = { };
|
default = { };
|
||||||
|
description = ''
|
||||||
|
Derivations to be built by nix flake check.
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -15,6 +15,9 @@ in
|
||||||
devShell = mkOption {
|
devShell = mkOption {
|
||||||
type = types.lazyAttrsOf types.package;
|
type = types.lazyAttrsOf types.package;
|
||||||
default = { };
|
default = { };
|
||||||
|
description = ''
|
||||||
|
For each system a derivation that nix develop bases its environment on.
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -37,6 +40,9 @@ in
|
||||||
options = {
|
options = {
|
||||||
devShell = mkOption {
|
devShell = mkOption {
|
||||||
type = types.nullOr types.package;
|
type = types.nullOr types.package;
|
||||||
|
description = ''
|
||||||
|
A derivation that nix develop bases its environment on.
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -15,6 +15,9 @@ in
|
||||||
legacyPackages = mkOption {
|
legacyPackages = mkOption {
|
||||||
type = types.lazyAttrsOf (types.lazyAttrsOf types.anything);
|
type = types.lazyAttrsOf (types.lazyAttrsOf types.anything);
|
||||||
default = { };
|
default = { };
|
||||||
|
description = ''
|
||||||
|
Per system, an attribute set of anything. This is also used by nix build .#<attrpath>.
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -38,6 +41,9 @@ in
|
||||||
legacyPackages = mkOption {
|
legacyPackages = mkOption {
|
||||||
type = types.lazyAttrsOf types.anything;
|
type = types.lazyAttrsOf types.anything;
|
||||||
default = { };
|
default = { };
|
||||||
|
description = ''
|
||||||
|
An attribute set of anything. This is also used by nix build .#<attrpath>.
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -15,6 +15,10 @@ in
|
||||||
packages = mkOption {
|
packages = mkOption {
|
||||||
type = types.lazyAttrsOf (types.lazyAttrsOf types.package);
|
type = types.lazyAttrsOf (types.lazyAttrsOf types.package);
|
||||||
default = { };
|
default = { };
|
||||||
|
description = ''
|
||||||
|
Per system an attribute set of packages.
|
||||||
|
nix build .#<name> will build packages.<system>.<name>.
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -38,6 +42,10 @@ in
|
||||||
packages = mkOption {
|
packages = mkOption {
|
||||||
type = types.lazyAttrsOf types.package;
|
type = types.lazyAttrsOf types.package;
|
||||||
default = { };
|
default = { };
|
||||||
|
description = ''
|
||||||
|
An attribute set of packages to be built by nix build .#<name>.
|
||||||
|
nix build .#<name> will build packages.<name>.
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue