tvl-depot/tvix/glue
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
..
benches refactor(tvix/eval): remove code and location from struct 2023-12-31 13:15:24 +00:00
src feat(tvix/glue): handle passAsFile 2024-01-03 14:15:15 +00:00
Cargo.toml feat(tvix/glue): handle passAsFile 2024-01-03 14:15:15 +00:00
default.nix refactor(tvix): move tvix glue code into glue crate 2023-11-04 15:18:44 +00:00