diff options
author | Florian Klink <flokli@flokli.de> | 2024-01-02T12·17+0200 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2024-01-03T14·15+0000 |
commit | 802f374a90d8202785a34648c39aa6320ac171d9 (patch) | |
tree | 95ddd57c989bcc8f44771384793d8dad37910e91 /tvix/eval/src/vm.rs | |
parent | a82214b3ad00a402db222fa2df276a30c0a86c47 (diff) |
feat(tvix/glue): handle passAsFile r/7316
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>
Diffstat (limited to 'tvix/eval/src/vm.rs')
0 files changed, 0 insertions, 0 deletions