1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-15 23:12:44 +01:00
nix/src
Robert Hensing d262efc240 libexpr: improve error messages for builtins.genericClosure
Show which element(s) are involved at each error point:

- When an element is missing the "key" attribute, show the element
- When an element is not an attribute set, show the element
- When comparing keys fails, show both elements being compared
- When calling operator fails, show which element was being processed

This provides concrete context using ValuePrinter with errorPrintOptions.

Note: errorPrintOptions uses maxDepth=10 by default, which may print
quite deeply nested structures in error messages. This could potentially
be overwhelming, but follows the existing default for error contexts.
2025-11-06 22:28:49 +01:00
..
external-api-docs doc: Improve libexpr-c docs 2025-10-28 17:57:15 +01:00
internal-api-docs meson: Apply formatting universally 2025-08-07 02:58:29 +03:00
json-schema-checks JSON Schema for build trace entry 2025-11-03 15:59:50 -05:00
kaitai-struct-checks nix-kaitai-struct: make it not longer part of the devshell 2025-11-05 22:22:45 +01:00
libcmd Factor out --no-check-sigs 2025-10-16 16:35:09 +02:00
libexpr libexpr: improve error messages for builtins.genericClosure 2025-11-06 22:28:49 +01:00
libexpr-c Use less c_str() in the evaluator, and other cleanups 2025-11-03 15:14:50 +03:00
libexpr-test-support Use less c_str() in the evaluator, and other cleanups 2025-11-03 15:14:50 +03:00
libexpr-tests libexpr: improve error messages for builtins.genericClosure 2025-11-06 22:28:49 +01:00
libfetchers Git fetcher: Restore progress indication 2025-11-05 21:59:07 +01:00
libfetchers-c meson: Move asan-options to common 2025-10-11 16:08:35 +03:00
libfetchers-tests libfetchers/git-utils: Be more correct about validating refnames 2025-10-15 21:54:09 +03:00
libflake Use less c_str() in the evaluator, and other cleanups 2025-11-03 15:14:50 +03:00
libflake-c meson: Move asan-options to common 2025-10-11 16:08:35 +03:00
libflake-tests libfetchers: Restore plain git inputs recognition 2025-10-31 22:42:43 +03:00
libmain treewide: replace manual MiB calculations with renderSize 2025-10-27 16:04:19 +01:00
libmain-c meson: Move asan-options to common 2025-10-11 16:08:35 +03:00
libstore Merge pull request #14471 from obsidiansystems/derivation-options-json-test 2025-11-06 18:21:15 +00:00
libstore-c Relegate toRealPath to LocalFSStore 2025-11-05 10:44:25 -05:00
libstore-test-support meson: Move asan-options to common 2025-10-11 16:08:35 +03:00
libstore-tests Merge pull request #14471 from obsidiansystems/derivation-options-json-test 2025-11-06 18:21:15 +00:00
libutil Merge pull request #14471 from obsidiansystems/derivation-options-json-test 2025-11-06 18:21:15 +00:00
libutil-c Use less c_str() in the evaluator, and other cleanups 2025-11-03 15:14:50 +03:00
libutil-test-support Allow for standard nlohmann JSON serializers to take separate XP features 2025-10-16 16:45:22 -04:00
libutil-tests diff-closures: print sizes with dynamic unit 2025-10-27 02:05:03 +01:00
nix Merge pull request #14445 from CyberShadow/nix-flake-check-log-success 2025-11-06 09:30:55 +00:00
perl Convert Realisation JSON logic to standard style 2025-09-22 12:59:37 -04:00
nix-functional-tests Build Functional tests with Meson 2024-08-14 15:35:40 -04:00
nix-manual Build the manual with Meson 2024-10-09 11:58:17 -04:00