This website requires JavaScript.
Explore
Cloud
Chat
CI/CD
Help
Sign in
MirrorHub
/
nixpkgs
Watch
0
Star
0
Fork
You've already forked nixpkgs
0
mirror of
https://github.com/NixOS/nixpkgs.git
synced
2024-11-19 00:08:32 +01:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
2
19735ff280
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 20:55:54 +01: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 17:25:46 +02:00
freeformType
=
with
lib
.
types
;
lazyAttrsOf
(
either
str
(
lazyAttrsOf
str
)
)
;
lib/tests: Add tests for freeform modules
2020-03-22 20:55:54 +01:00
}
Reference in a new issue
Copy permalink