mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
Add type port as an alias to u16
This commit is contained in:
parent
f3de52d25c
commit
161c0765ad
1 changed files with 3 additions and 0 deletions
|
@ -169,6 +169,9 @@ rec {
|
||||||
# s32 = sign 32 4294967296;
|
# s32 = sign 32 4294967296;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Alias of u16 for a port number
|
||||||
|
port = ints.u16;
|
||||||
|
|
||||||
float = mkOptionType rec {
|
float = mkOptionType rec {
|
||||||
name = "float";
|
name = "float";
|
||||||
description = "floating point number";
|
description = "floating point number";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue