Nix/src/libexpr
Rebecca Turner 83bb494a30
Print the value in error: cannot coerce messages
This extends the `error: cannot coerce a TYPE to a string` message
to print the value that could not be coerced. This helps with debugging
by making it easier to track down where the value is being produced
from, especially in errors with deep or unhelpful stack traces.
2024-01-23 15:15:41 -08:00
..
flake getNameFromURL(): Support uppercase characters in attribute names 2023-12-22 16:35:58 +01:00
primops Fix if...if...else ambiguity 2024-01-22 10:33:40 -05:00
value Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
attr-path.cc Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
attr-path.hh Merge remote-tracking branch 'upstream/master' into source-path 2023-04-17 11:41:50 +02:00
attr-set.cc Don't pass Symbol by reference 2022-04-26 13:25:17 +02:00
attr-set.hh Finish converting existing comments for internal API docs (#8146) 2023-04-07 13:55:28 +00:00
eval-cache.cc Merge pull request #6236 from obsidiansystems/store-dir-config 2023-12-01 15:38:14 +01:00
eval-cache.hh Finish converting existing comments for internal API docs (#8146) 2023-04-07 13:55:28 +00:00
eval-inline.hh Print value on type error 2024-01-22 08:56:02 -08:00
eval-settings.cc Add eval-system option 2023-12-14 19:04:00 -05:00
eval-settings.hh Fix segfault on infinite recursion in some cases 2023-12-29 22:16:44 -08:00
eval.cc Print the value in error: cannot coerce messages 2024-01-23 15:15:41 -08:00
eval.hh Unify and refactor value printing 2024-01-11 16:34:36 -08:00
fetchurl.nix fetchurl.nix: change other use of __impure 2022-09-16 01:54:24 -07:00
function-trace.cc Revert the enum struct change 2020-06-18 22:11:26 +00:00
function-trace.hh Ensure all headers have #pragma once and are in API docs 2023-03-31 23:19:44 -04:00
gc-small-vector.hh Use boost::container::small_vector in place of VLAs 2023-11-21 20:52:27 +01:00
get-drvs.cc DerivationInfo -> PackageInfo 2024-01-16 15:28:03 +01:00
get-drvs.hh Package{,Info}: comments 2024-01-16 15:44:02 +01:00
imported-drv-to-derivation.nix Move some corepkgs into the nix binary 2020-03-11 16:57:48 +01:00
json-to-value.cc return string_views from forceString* 2022-01-27 17:15:43 +01:00
json-to-value.hh Ensure all headers have #pragma once and are in API docs 2023-03-31 23:19:44 -04:00
lexer.l Avoid Windows macros in the parser and lexer 2024-01-12 19:51:36 -05:00
local.mk Only link with -pthread on Unix 2024-01-10 20:38:39 -05:00
nix-expr.pc.in Fix building with GCC 9 2023-02-10 18:38:57 +01:00
nixexpr.cc Combine AbstractPos, PosAdapter, and Pos 2024-01-08 10:59:41 -08:00
nixexpr.hh Combine AbstractPos, PosAdapter, and Pos 2024-01-08 10:59:41 -08:00
parser.y Avoid Windows macros in the parser and lexer 2024-01-12 19:51:36 -05:00
paths.cc Introduce FSInputAccessor and use it 2023-10-18 17:37:32 +02:00
primops.cc Print value on type error 2024-01-22 08:56:02 -08:00
primops.hh use singleton expr to generate black hole errors 2023-12-19 19:32:16 +01:00
print-ambiguous.cc Print value on type error 2024-01-22 08:56:02 -08:00
print-ambiguous.hh Restore ambiguous value printer for nix-instantiate 2024-01-11 16:34:36 -08:00
print-options.hh Print the value in error: cannot coerce messages 2024-01-23 15:15:41 -08:00
print.cc Print the value in error: cannot coerce messages 2024-01-23 15:15:41 -08:00
print.hh Print value on type error 2024-01-22 08:56:02 -08:00
search-path.cc Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
search-path.hh Clean up SearchPath 2023-07-09 23:22:22 -04:00
symbol-table.hh Finish converting existing comments for internal API docs (#8146) 2023-04-07 13:55:28 +00:00
value-to-json.cc Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
value-to-json.hh Use std::set<StringContextElem> not PathSet for string contexts 2023-04-21 01:05:49 -04:00
value-to-xml.cc Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
value-to-xml.hh Use std::set<StringContextElem> not PathSet for string contexts 2023-04-21 01:05:49 -04:00
value.hh Unify and refactor value printing 2024-01-11 16:34:36 -08:00