depot/third_party/nixpkgs/lib/tests/modules/declare-lazyAttrsOf.nix

7 lines
159 B
Nix
Raw Normal View History

{ lib, ... }: {
options.value = lib.mkOption {
type = lib.types.lazyAttrsOf (lib.types.str // { emptyValue.value = "empty"; });
default = {};
};
}