introduce lim, the liminix library
so far we have lim.parseInt, which parses an integer from a string with optional base-selecting-prefix (e.g. 0755, 0x12ab)
This commit is contained in:
@@ -191,4 +191,9 @@ extraPkgs // {
|
||||
});
|
||||
|
||||
pppBuild = prev.ppp;
|
||||
|
||||
# liminix library functions
|
||||
lim = {
|
||||
parseInt = s : (builtins.fromTOML "r=${s}").r;
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user