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