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:
Daniel Barlow
2023-11-05 15:13:06 +00:00
parent 863045b86b
commit a135cb1217
3 changed files with 8 additions and 3 deletions

View File

@@ -19,7 +19,7 @@ let
config = (pkgs.lib.evalModules {
modules = [
{ _module.args = { inherit pkgs; lib = pkgs.lib; }; }
{ _module.args = { inherit pkgs; inherit (pkgs) lim; }; }
./modules/hardware.nix
./modules/base.nix
./modules/busybox.nix