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-submoduleWith-noshorthand.nix
blob
af3b4ba470ff60fb7cafcc6bd302486ad6d6dc0a
1
{ lib, ... }: let
2
sub.options.config = lib.mkOption {
3
type = lib.types.bool;
4
default = false;
5
};
6
in {
7
options.submodule = lib.mkOption {
8
type = lib.types.submoduleWith {
9
modules = [ sub ];
10
};
11
default = {};
12
};
13
}