diff options
author | kvtb <76634406+kvtb@users.noreply.github.com> | 2021-03-28 14:04:39 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-28 14:04:39 +0000 |
commit | 3131cdf05b0150566faf3d5f1d4139f80e3cde4f (patch) | |
tree | 80d8b8271fd055319e2432177fbca2bff9fb2b31 /lib | |
parent | 4aacd02d330582775e6f4564b0ca95b8b02cf407 (diff) | |
download | nixpkgs-3131cdf05b0150566faf3d5f1d4139f80e3cde4f.tar nixpkgs-3131cdf05b0150566faf3d5f1d4139f80e3cde4f.tar.gz nixpkgs-3131cdf05b0150566faf3d5f1d4139f80e3cde4f.tar.bz2 nixpkgs-3131cdf05b0150566faf3d5f1d4139f80e3cde4f.tar.lz nixpkgs-3131cdf05b0150566faf3d5f1d4139f80e3cde4f.tar.xz nixpkgs-3131cdf05b0150566faf3d5f1d4139f80e3cde4f.tar.zst nixpkgs-3131cdf05b0150566faf3d5f1d4139f80e3cde4f.zip |
types.nix: fix outdated comment
Nix's `int` is always 64-bit
Diffstat (limited to 'lib')
-rw-r--r-- | lib/types.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/types.nix b/lib/types.nix index d0a8e96149d..cd1d6277109 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; |