3
0
Fork 0
forked from mirrors/nixpkgs

types.nix: types.ints.s32 and types.ints.u32 do work

This commit is contained in:
kvtb 2021-03-30 15:03:53 +00:00 committed by GitHub
parent 3131cdf05b
commit 1c0d31d042
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -258,12 +258,12 @@ rec {
u16 = unsign 16 65536;
# the biggest int Nix accepts is 2^63 - 1 (9223372036854775808)
# the smallest int Nix accepts is -2^63 (-9223372036854775807)
# u32 = unsign 32 4294967296;
u32 = unsign 32 4294967296;
# u64 = unsign 64 18446744073709551616;
s8 = sign 8 256;
s16 = sign 16 65536;
# s32 = sign 32 4294967296;
s32 = sign 32 4294967296;
};
# Alias of u16 for a port number