nixpkgs/lib/tests/modules/declare-coerced-value-no-default.nix
2024-09-10 22:45:27 +01:00

10 lines
152 B
Nix

{ lib, ... }:
{
options = {
value = lib.mkOption {
type = lib.types.coercedTo lib.types.int builtins.toString lib.types.str;
};
};
}