1
0
Fork 0
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:
Robert Hensing 2021-11-21 14:30:12 +01:00
parent 0405415b90
commit 06ebe54ddb
4 changed files with 26 additions and 0 deletions

View file

@ -15,6 +15,9 @@ in
checks = mkOption {
type = types.lazyAttrsOf (types.lazyAttrsOf types.package);
default = { };
description = ''
Derivations to be built by nix flake check.
'';
};
};
};
@ -38,6 +41,9 @@ in
checks = mkOption {
type = types.lazyAttrsOf types.package;
default = { };
description = ''
Derivations to be built by nix flake check.
'';
};
};
};

View file

@ -15,6 +15,9 @@ in
devShell = mkOption {
type = types.lazyAttrsOf types.package;
default = { };
description = ''
For each system a derivation that nix develop bases its environment on.
'';
};
};
};
@ -37,6 +40,9 @@ in
options = {
devShell = mkOption {
type = types.nullOr types.package;
description = ''
A derivation that nix develop bases its environment on.
'';
};
};
};

View file

@ -15,6 +15,9 @@ in
legacyPackages = mkOption {
type = types.lazyAttrsOf (types.lazyAttrsOf types.anything);
default = { };
description = ''
Per system, an attribute set of anything. This is also used by nix build .#<attrpath>.
'';
};
};
};
@ -38,6 +41,9 @@ in
legacyPackages = mkOption {
type = types.lazyAttrsOf types.anything;
default = { };
description = ''
An attribute set of anything. This is also used by nix build .#<attrpath>.
'';
};
};
};

View file

@ -15,6 +15,10 @@ in
packages = mkOption {
type = types.lazyAttrsOf (types.lazyAttrsOf types.package);
default = { };
description = ''
Per system an attribute set of packages.
nix build .#<name> will build packages.<system>.<name>.
'';
};
};
};
@ -38,6 +42,10 @@ in
packages = mkOption {
type = types.lazyAttrsOf types.package;
default = { };
description = ''
An attribute set of packages to be built by nix build .#<name>.
nix build .#<name> will build packages.<name>.
'';
};
};
};