about summary refs log tree commit diff
path: root/tvix/eval
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-01-04T21·12+0100
committerflokli <flokli@flokli.de>2023-01-06T12·25+0000
commit9df9a2f1ab412848908efbabcb21ed6246263550 (patch)
treee497b45a4c68997c5dd018149b94e95cc19a7831 /tvix/eval
parentd4603fc0af5f2be27716d4d3c3fc6c514c8ffbe9 (diff)
feat(tvix/derivation): add get_fixed_output() helper function r/5609
This will return the fixed output of a derivation (and its hash), or
None if the Derivation is not fixed-output.

It will simplify the logic in the output path calculation a bit.

Change-Id: I1066cc18ee4fc419421a8c5995c93ba91b35588f
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7760
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'tvix/eval')
0 files changed, 0 insertions, 0 deletions