tvl-depot/tvix/glue/src
Florian Klink 802f374a90 feat(tvix/glue): handle passAsFile
This extends derivation_to_build_request to handle passAsFile the same
way Nix does, and adds a unit test for it.

I opted to making this function fallible (if passAsFile contains a
non-existent env var), rather than pushing all of this into the
Derivation validate function.

Change-Id: I75b635f1f6c0c78d72b9a8fc7824f77e97b69951
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10522
Tested-by: BuildkiteCI
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
2024-01-03 14:15:15 +00:00
..
builtins test(tvix/glue): add test with passAsFile 2024-01-03 13:19:02 +00:00
tests feat(tvix/build/protos): add some missing fields 2023-12-26 10:20:41 +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 docs(tvix/glue): fix docstring 2023-12-21 16:43:11 +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/glue): handle passAsFile 2024-01-03 14:15:15 +00:00
tvix_io.rs refactor(tvix): use io::Result for EvalIO 2023-12-12 14:28:50 +00:00
tvix_store_io.rs refactor(tvix/glue/tvix_store_io): use utils::import_path 2024-01-01 01:55:46 +00:00