summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorkvtb <76634406+kvtb@users.noreply.github.com>2021-03-30 15:03:53 +0000
committerGitHub <noreply@github.com>2021-03-30 15:03:53 +0000
commit1c0d31d0422612f860690791740a1ca542c522a4 (patch)
treeeeb3c38b7ba6b83dbf4e9f000f2bba3a0e474492 /lib
parent3131cdf05b0150566faf3d5f1d4139f80e3cde4f (diff)
downloadnixpkgs-1c0d31d0422612f860690791740a1ca542c522a4.tar
nixpkgs-1c0d31d0422612f860690791740a1ca542c522a4.tar.gz
nixpkgs-1c0d31d0422612f860690791740a1ca542c522a4.tar.bz2
nixpkgs-1c0d31d0422612f860690791740a1ca542c522a4.tar.lz
nixpkgs-1c0d31d0422612f860690791740a1ca542c522a4.tar.xz
nixpkgs-1c0d31d0422612f860690791740a1ca542c522a4.tar.zst
nixpkgs-1c0d31d0422612f860690791740a1ca542c522a4.zip
types.nix: types.ints.s32 and types.ints.u32 do work
Diffstat (limited to 'lib')
-rw-r--r--lib/types.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/types.nix b/lib/types.nix
index cd1d6277109..4e56cecf629 100644
--- a/lib/types.nix
+++ b/lib/types.nix
@@ -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