snix/tvix/glue/src
Aspen Smith bdf8269859 fix(tvix/glue): coerce path argument to builtins.path to a path
The "path" key in the arguments to builtins.path supports any
path-coercible type (a string, a path...). Coerce it to a path in the
argument rather than just requiring it already be one and throwing an
error if it's not.

This is... annoying to test, since it requires a file with known
contents that's available in the build sandbox. But it works! Trust me!

Fixes: b/412
Change-Id: I3c8e339bf344a208d5ed5990193942651f318745
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12053
Tested-by: BuildkiteCI
Reviewed-by: flokli <flokli@flokli.de>
Autosubmit: aspen <root@gws.fyi>
2024-07-31 20:18:46 +00:00
..
builtins fix(tvix/glue): coerce path argument to builtins.path to a path 2024-07-31 20:18:46 +00:00
fetchers refactor(tvix/glue): return a parsed Url in NixFetchArgs 2024-06-26 04:51:31 +00:00
tests refactor(tvix): move service addrs into shared clap struct 2024-07-22 13:36:08 +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
fetchurl.rs feat(tvix/glue): support builtin:fetchurl 2024-06-12 22:31:17 +00:00
known_paths.rs refactor(tvix/glue/fetchers): move store_path() tests here 2024-06-12 10:30:40 +00:00
lib.rs refactor(tvix/eval): Builderize Evaluation 2024-07-06 15:03:46 +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/nix-compat): Use StorePath in Output 2024-02-21 11:38:03 +00:00
tvix_io.rs feat(tvix/eval): add file_type method 2024-06-26 04:51:31 +00:00
tvix_store_io.rs refactor(tvix): move service addrs into shared clap struct 2024-07-22 13:36:08 +00:00