diff --git a/lib/types.nix b/lib/types.nix index d0a8e96149d7..cd1d6277109e 100644 --- a/lib/types.nix +++ b/lib/types.nix @@ -256,8 +256,8 @@ rec { }; u8 = unsign 8 256; u16 = unsign 16 65536; - # the biggest int a 64-bit Nix accepts is 2^63 - 1 (9223372036854775808), for a 32-bit Nix it is 2^31 - 1 (2147483647) - # the smallest int a 64-bit Nix accepts is -2^63 (-9223372036854775807), for a 32-bit Nix it is -2^31 (-2147483648) + # the biggest int Nix accepts is 2^63 - 1 (9223372036854775808) + # the smallest int Nix accepts is -2^63 (-9223372036854775807) # u32 = unsign 32 4294967296; # u64 = unsign 64 18446744073709551616;