3
0
Fork 0
forked from mirrors/nixpkgs

Add type port as an alias to u16

This commit is contained in:
Daniel Rutz 2018-10-18 23:39:13 +02:00
parent f3de52d25c
commit 161c0765ad

View file

@ -169,6 +169,9 @@ rec {
# s32 = sign 32 4294967296;
};
# Alias of u16 for a port number
port = ints.u16;
float = mkOptionType rec {
name = "float";
description = "floating point number";