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

10 lines
118 B
Nix

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