···166 attrName = "git";
167168 lix-args = rec {
169+ version = "2.94.0-pre-20250912_${builtins.substring 0 12 src.rev}";
170171 src = fetchFromGitea {
172 domain = "git.lix.systems";
173 owner = "lix-project";
174 repo = "lix";
175+ rev = "d90e4a65812c6d3dd90aed7e44941eba3215f876";
176+ hash = "sha256-rbf0ptj4BTSwsitKQu3FuaiJwhNDePGBeBJovm5HLdQ=";
177 };
178+179+ patches = [
180+ # Bumping to toml11 ≥4.0.0 makes integer parsing throw (as it should) instead of saturate on overflow.
181+ # However, the updated version is not in nixpkgs yet, and the released versions still have the saturation bug.
182+ # Hence reverting the bump for now seems to be the least bad option.
183+ ./revert-toml11-bump.patch
184+ ];
185186 cargoDeps = rustPlatform.fetchCargoVendor {
187 name = "lix-${version}";