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

9 lines
118 B
Nix

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