lix/src
Robert Hensing c965f35de7 Improve sqlite error messages
They did not include the detailed error message, losing essential
information for troubleshooting.

Example message:

    warning: creating statement 'insert or rplace into NARs(cache, hashPart, namePart, url, compression, fileHash, fileSize, narHash, narSize, refs, deriver, sigs, ca, timestamp, present) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, 1)': at offset 10: SQL logic error, near "rplace": syntax error (in '/tmp/nix-shell.grQ6f7/nix-test/tests/binary-cache/test-home/.cache/nix/binary-cache-v6.sqlite')

It's not the best example; more important information will be in
the message for e.g. a constraint violation.

I don't see why this specific error is printed as a warning, but
that's for another commit.
2022-12-17 14:51:37 +01:00
..
build-remote build-remote: Add brackets to error message 2022-11-04 10:49:44 -07:00
libcmd Merge pull request #7455 from rapenne-s/documentation_fix 2022-12-13 17:26:52 +01:00
libexpr Merge pull request #6741 from Mindavi/nix-no-gc 2022-12-13 10:36:59 +01:00
libfetchers Allow to disable global flake-registry with "" 2022-12-12 15:32:02 +01:00
libmain Merge pull request #7421 from edolstra/lazy-trees-trivial-changes 2022-12-12 13:52:56 +01:00
libstore Improve sqlite error messages 2022-12-17 14:51:37 +01:00
libutil Simplify loop, feedback from @tfc and @Ericson2314 2022-12-12 18:41:00 +00:00
nix Merge pull request #7455 from rapenne-s/documentation_fix 2022-12-13 17:26:52 +01:00
nix-build nix-build: remove unused --add-root arg 2022-09-27 00:07:42 +02:00
nix-channel Fix segfault in headerCallback() 2022-03-03 11:11:16 +01:00
nix-collect-garbage Add missing rethrows in conditional exception handlers 2022-06-10 10:52:41 -07:00
nix-copy-closure copyPaths: Pass store by reference 2021-07-22 09:59:51 +02:00
nix-env Replace src/libutil/json.cc with nlohmann json generation 2022-11-16 16:50:50 +01:00
nix-instantiate Revert to copyStore = true for nix-instantiate and nix-env 2022-08-23 14:40:27 +02:00
nix-store Fix unused variable warning 2022-12-12 16:41:46 +01:00
resolve-system-dependencies Get rid of most .at calls (#6393) 2022-05-04 07:44:32 +02:00
toml11 Replace cpptoml with toml11 2021-12-17 22:03:33 +01:00