blob: 93c866dda42676ebc6b6156f4c058852dd4fa780 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
{ lib, ... }:
let
deathtrapArgs = lib.mapAttrs (
k: _: throw "The module system is too strict, accessing an unused option's ${k} mkOption-attribute."
) (lib.functionArgs lib.mkOption);
in
{
options.value = lib.mkOption {
type = lib.types.attrsOf lib.types.str;
default = { };
};
options.testing-laziness-so-don't-read-me = lib.mkOption deathtrapArgs;
}
|