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> |
||
|---|---|---|
| .. | ||
| builtins | ||
| fetchers | ||
| tests | ||
| .skip-subtree | ||
| fetchurl.nix | ||
| fetchurl.rs | ||
| known_paths.rs | ||
| lib.rs | ||
| refscan.rs | ||
| tvix_build.rs | ||
| tvix_io.rs | ||
| tvix_store_io.rs | ||