diff --git a/doc/manual/change-authors.yml b/doc/manual/change-authors.yml index ef3c6f245..547b58373 100644 --- a/doc/manual/change-authors.yml +++ b/doc/manual/change-authors.yml @@ -74,6 +74,9 @@ ericson: display_name: John Ericson github: ericson2314 +gilice: + forgejo: gilice + goldstein: display_name: goldstein forgejo: goldstein diff --git a/doc/manual/rl-next/flake-lockfile-crash.md b/doc/manual/rl-next/flake-lockfile-crash.md new file mode 100644 index 000000000..4c7d98d0b --- /dev/null +++ b/doc/manual/rl-next/flake-lockfile-crash.md @@ -0,0 +1,18 @@ +--- +synopsis: "Parsing failures in flake.lock no longer crash Lix" +issues: [fj#559] +cls: [2401] +category: "Fixes" +credits: ["gilice"] +--- +Failure to parse `flake.lock` no longer hard-crashes Lix and instead produces a nice error message. + +``` +error: + … while updating the lock file of flake 'git+file:///Users/jade/lix/lix2' + + … while parsing the lock file at /nix/store/mm5dqh8a729yazzj82cjffxl97n5c62s-source//flake.lock + + error: [json.exception.parse_error.101] parse error at line 1, column 1: syntax error while parsing value - invalid literal; + last read: '#' +```