mirror of
https://github.com/hercules-ci/flake-parts.git
synced 2025-03-31 04:04:55 +00:00
Merge pull request #53 from hercules-ci/issue-52-legacyPackages-laziness
legacyPackages: anything -> raw
This commit is contained in:
commit
850d8a7602
1 changed files with 4 additions and 4 deletions
|
@ -16,10 +16,10 @@ in
|
||||||
options = {
|
options = {
|
||||||
flake = mkSubmoduleOptions {
|
flake = mkSubmoduleOptions {
|
||||||
legacyPackages = mkOption {
|
legacyPackages = mkOption {
|
||||||
type = types.lazyAttrsOf (types.lazyAttrsOf types.anything);
|
type = types.lazyAttrsOf (types.lazyAttrsOf types.raw);
|
||||||
default = { };
|
default = { };
|
||||||
description = ''
|
description = ''
|
||||||
Per system, an attribute set of anything. This is also used by <literal>nix build .#<attrpath></literal>.
|
Per system, an attribute set of unmergeable values. This is also used by <literal>nix build .#<attrpath></literal>.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -27,10 +27,10 @@ in
|
||||||
perSystem = mkPerSystemOption ({ config, ... }: {
|
perSystem = mkPerSystemOption ({ config, ... }: {
|
||||||
options = {
|
options = {
|
||||||
legacyPackages = mkOption {
|
legacyPackages = mkOption {
|
||||||
type = types.lazyAttrsOf types.anything;
|
type = types.lazyAttrsOf types.raw;
|
||||||
default = { };
|
default = { };
|
||||||
description = ''
|
description = ''
|
||||||
An attribute set of anything. This is also used by <literal>nix build .#<attrpath></literal>.
|
An attribute set of unmergeable values. This is also used by <literal>nix build .#<attrpath></literal>.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue