3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/lib/tests/modules/declare-int-positive-value.nix
Profpatsch 462c048c77 lib/types: add ints.positive.
For values that are positive, but cannot be 0.
2017-11-05 15:56:32 +01:00

10 lines
110 B
Nix

{ lib, ... }:
{
options = {
value = lib.mkOption {
type = lib.types.ints.positive;
};
};
}