repo.or.cz
/
NixPkgs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge pull request #298967 from vbgl/ocaml-5.2.0
[NixPkgs.git]
/
lib
/
tests
/
modules
/
declare-variants.nix
blob
3ed6fa689e21ed4c2ecc1d22c0960ceb86c88c77
1
{ lib, moduleType, ... }:
2
let inherit (lib) mkOption types;
3
in
4
{
5
options.variants = mkOption {
6
type = types.lazyAttrsOf moduleType;
7
default = {};
8
};
9
}