depot/third_party/nixpkgs/lib/tests/modules/declare-int-between-value.nix

10 lines
118 B
Nix
Raw Normal View History

{ lib, ... }:
{
options = {
value = lib.mkOption {
type = lib.types.ints.between (-21) 43;
};
};
}