mirror of
https://github.com/hercules-ci/flake-parts.git
synced 2025-03-30 19:54:47 +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 = {
|
||||
flake = mkSubmoduleOptions {
|
||||
legacyPackages = mkOption {
|
||||
type = types.lazyAttrsOf (types.lazyAttrsOf types.anything);
|
||||
type = types.lazyAttrsOf (types.lazyAttrsOf types.raw);
|
||||
default = { };
|
||||
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, ... }: {
|
||||
options = {
|
||||
legacyPackages = mkOption {
|
||||
type = types.lazyAttrsOf types.anything;
|
||||
type = types.lazyAttrsOf types.raw;
|
||||
default = { };
|
||||
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