1
0
Fork 0
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:
Robert Hensing 2022-08-20 17:24:36 +02:00 committed by GitHub
commit 850d8a7602
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 .#&lt;attrpath></literal>.
Per system, an attribute set of unmergeable values. This is also used by <literal>nix build .#&lt;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 .#&lt;attrpath></literal>.
An attribute set of unmergeable values. This is also used by <literal>nix build .#&lt;attrpath></literal>.
'';
};
};