This website requires JavaScript.
Explore
Help
Sign In
ilyakooo0
/
nixpkgs
Watch
1
Star
0
Fork
0
You've already forked nixpkgs
mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced
2024-09-22 21:18:28 +03:00
Code
Issues
Projects
Releases
Wiki
Activity
906d68cf13
nixpkgs
/
lib
/
tests
/
modules
/
freeform-attrsOf.nix
4 lines
87 B
Nix
Raw
Normal View
History
Unescape
Escape
lib/tests: Add tests for freeform modules
2020-03-22 22:55:54 +03:00
{
lib
,
.
.
.
}:
{
lib/modules: Add syntactic sugar for config._module.freeformType This introduces `freeformType` as a top-level module attribute, allowing definitions like { freeformType = ...; options = ...; config = ...; }
2020-08-10 18:25:46 +03:00
freeformType
=
with
lib
.
types
;
attrsOf
(
either
str
(
attrsOf
str
)
)
;
lib/tests: Add tests for freeform modules
2020-03-22 22:55:54 +03:00
}
Reference in New Issue
Copy Permalink