mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 18:26:45 +01:00
462c048c77
For values that are positive, but cannot be 0.
10 lines
110 B
Nix
10 lines
110 B
Nix
{ lib, ... }:
|
|
|
|
{
|
|
options = {
|
|
value = lib.mkOption {
|
|
type = lib.types.ints.positive;
|
|
};
|
|
};
|
|
}
|