This website requires JavaScript.
Explore
Help
Sign In
nordic-dev.net
/
nixpkgs
Watch
2
Star
0
Fork
0
You've already forked nixpkgs
mirror of
https://github.com/NixOS/nixpkgs.git
synced
2024-12-25 07:05:13 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
9b9d3c4739
nixpkgs
/
lib
/
tests
/
modules
/
freeform-lazyAttrsOf.nix
4 lines
95 B
Nix
Raw
Normal View
History
Unescape
Escape
lib/tests: Add tests for freeform modules
2020-03-22 19:55:54 +00: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 15:25:46 +00:00
freeformType
=
with
lib
.
types
;
lazyAttrsOf
(
either
str
(
lazyAttrsOf
str
)
)
;
lib/tests: Add tests for freeform modules
2020-03-22 19:55:54 +00:00
}
Reference in New Issue
Copy Permalink