tvl-depot/tvix/glue/src
Florian Klink e4d6d20aa7 test(tvix/glue): add nonexisting_path_without_import test
This moves the failing example from cl/10285 into its separate test
case.

There were multiple complications: tvix-[ca]store was panicking in some
places, rather than returning an error. This is now fixed.

It needs to live in tvix-glue, so we actually have a "proper" EvalIO
interface doing something.

> toString ({ line = 42; col = 42; file = /deep/thought; }.file)

Should not cause an error, because it shouldn't trigger an import, but
leave the path as-is, and not care about it not being present.

Change-Id: I76f70b3cb1f73a0fb05870375710fd9f67d5603c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10342
Tested-by: BuildkiteCI
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: sterni <sternenseemann@systemli.org>
2023-12-14 13:25:25 +00:00
..
builtins fix(tvix/eval): remove incorrect imports when coercing 2023-12-14 13:15:23 +00:00
tests feat(tvix/build): add derivation_to_build_request 2023-12-11 22:35:39 +00:00
.skip-subtree refactor(tvix): move tvix glue code into glue crate 2023-11-04 15:18:44 +00:00
fetchurl.nix refactor(tvix): move tvix glue code into glue crate 2023-11-04 15:18:44 +00:00
known_paths.rs chore(tvix/glue): allow unused_variables 2023-12-12 09:01:51 +00:00
lib.rs feat(tvix/build): add derivation_to_build_request 2023-12-11 22:35:39 +00:00
refscan.rs refactor(tvix): move tvix glue code into glue crate 2023-11-04 15:18:44 +00:00
tvix_build.rs feat(tvix/build): add derivation_to_build_request 2023-12-11 22:35:39 +00:00
tvix_io.rs refactor(tvix): use io::Result for EvalIO 2023-12-12 14:28:50 +00:00
tvix_store_io.rs test(tvix/glue): add nonexisting_path_without_import test 2023-12-14 13:25:25 +00:00