Compare commits

..

2 Commits

Author SHA1 Message Date
henrov 4aef0ed12a rebuilding minimised nix files 2026-03-02 18:34:10 +01:00
henrov cc784f6564 Invalid token 2026-03-02 18:34:03 +01:00
3 changed files with 302 additions and 302 deletions
+300 -300
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -2006,7 +2006,7 @@ let
trim = lib.strings.trim; trim = lib.strings.trim;
# ---------- minimal INI-ish parser (sections + raw lines) ---------- # ---------- minimal INI-ish parser (sections + raw lines) ----------
readMaybe = p: if builtins.pathExists p then builtins.readFile p else ""; readMaybe = p: if builtins.pathExists p then builtins.readFile p else "";
normalizeLine = l: trim (l`ib.replaceStrings [ "\r" ] [ "" ] l); normalizeLine = l: trim (lib.replaceStrings [ "\r" ] [ "" ] l);
parseSections = text: parseSections = text:
let let
lines = map normalizeLine (lib.splitString "\n" text); lines = map normalizeLine (lib.splitString "\n" text);
+1 -1
View File
@@ -21,7 +21,7 @@ let
trim = lib.strings.trim; trim = lib.strings.trim;
# ---------- minimal INI-ish parser (sections + raw lines) ---------- # ---------- minimal INI-ish parser (sections + raw lines) ----------
readMaybe = p: if builtins.pathExists p then builtins.readFile p else ""; readMaybe = p: if builtins.pathExists p then builtins.readFile p else "";
normalizeLine = l: trim (l`ib.replaceStrings [ "\r" ] [ "" ] l); normalizeLine = l: trim (lib.replaceStrings [ "\r" ] [ "" ] l);
parseSections = text: parseSections = text:
let let
lines = map normalizeLine (lib.splitString "\n" text); lines = map normalizeLine (lib.splitString "\n" text);