lix/src/libexpr
eldritch horrors 609a8e0d94 Merge pull request #9754 from 9999years/print-value-when-coercion-fails
Print the value in `error: cannot coerce` messages

(cherry picked from commit 5b7bfd2d6b89d7dd5f54c1ca6c8072358d31a84e)

===

test taken from 6e8d5983143ae576e3f4b1d2954a5267f2943a49; it was added
previously (and not backported because its pr was a mostly-revert), but
it's useful to have around.

Change-Id: Icbd14b55e3610ce7b774667bf14b82e6dc717982
2024-03-09 00:05:41 -07:00
..
flake Merge pull request #10055 from GrahamDennis/gdennis/faster-flake-lock-parsing 2024-03-04 09:25:17 +01:00
primops Merge pull request #9216 from obsidiansystems/addDrvOutputDependencies-pre 2024-03-04 05:06:56 +01:00
value Fixing #7479 2023-08-18 11:44:00 -04:00
attr-path.cc Merge remote-tracking branch 'origin/master' into source-path 2023-04-24 13:20:36 +02: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 Fixing #7479 2023-08-18 11:44:00 -04:00
eval-cache.hh Finish converting existing comments for internal API docs (#8146) 2023-04-07 13:55:28 +00:00
eval-inline.hh Merge pull request #9753 from 9999years/print-value-on-type-error 2024-03-09 00:05:41 -07:00
eval-settings.cc Merge pull request #4093 from matthewbauer/eval-system 2024-03-04 07:21:01 +01:00
eval-settings.hh Merge pull request #9617 from 9999years/stack-overflow-segfault 2024-03-04 07:35:20 +01:00
eval.cc Merge pull request #9754 from 9999years/print-value-when-coercion-fails 2024-03-09 00:05:41 -07:00
eval.hh Unify and refactor value printing 2024-03-09 03:50:06 +01: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 Merge pull request #9430 from hercules-ci/remove-vlas 2024-03-04 07:11:25 +01:00
get-drvs.cc Merge pull request #9582 from pennae/misc-opts 2024-03-04 07:32:31 +01:00
get-drvs.hh Finish converting existing comments for internal API docs (#8146) 2023-04-07 13:55:28 +00:00
imported-drv-to-derivation.nix
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 Merge pull request #10074 from lf-/jade/ban-implicit-fallthrough 2024-03-07 00:11:12 -07:00
local.mk Merge pull request #9465 from obsidiansystems/build-dir 2024-03-04 07:11:25 +01:00
nix-expr.pc.in Fix building with GCC 9 2023-02-10 18:38:57 +01:00
nixexpr.cc Merge pull request #9634 from 9999years/combine-abstract-pos-and-pos 2024-03-05 23:46:18 -07:00
nixexpr.hh Merge pull request #9634 from 9999years/combine-abstract-pos-and-pos 2024-03-05 23:46:18 -07:00
parser.y Merge pull request #9582 from pennae/misc-opts 2024-03-04 07:32:31 +01:00
paths.cc Merge pull request #9172 from tfc/bad-moves 2024-03-04 04:41:52 +01:00
primops.cc Merge pull request #9753 from 9999years/print-value-on-type-error 2024-03-09 00:05:41 -07:00
primops.hh Merge pull request #7348 from thufschmitt/dont-use-vlas 2024-03-04 05:51:23 +01:00
print-ambiguous.cc Merge pull request #9753 from 9999years/print-value-on-type-error 2024-03-09 00:05:41 -07:00
print-ambiguous.hh Unify and refactor value printing 2024-03-09 03:50:06 +01:00
print-options.hh Merge pull request #9754 from 9999years/print-value-when-coercion-fails 2024-03-09 00:05:41 -07:00
print.cc Merge pull request #9754 from 9999years/print-value-when-coercion-fails 2024-03-09 00:05:41 -07:00
print.hh Merge pull request #9753 from 9999years/print-value-on-type-error 2024-03-09 00:05:41 -07:00
search-path.cc src/libexpr/search-path.cc: avoid out-of-bounds read on string_view 2023-08-14 22:07:37 +01: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 toJSON: Add attribute path to trace 2023-07-31 13:02:54 +02: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 Merge remote-tracking branch 'origin/master' into source-path 2023-04-24 13:20:36 +02: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-03-09 03:50:06 +01:00