tvl-depot/tvix/cli
Florian Klink 8ea93bb646 refactor(tvix/cli/derivation): use if let to destructure
We only do logic here if algo and hash_mode are Some(_)
(and there's an `out` output).

The fact we don't do anything in all in other cases is a bit hidden at
the bottom. Use if let for the destructuring, and drop the other case.

Change-Id: Icc0e38e62947d52d48ef610f754749737977fca9
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7966
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
2023-01-31 13:26:11 +00:00
..
src refactor(tvix/cli/derivation): use if let to destructure 2023-01-31 13:26:11 +00:00
Cargo.toml refactor(tvix/cli): absorb construct_output_hash 2023-01-31 08:52:00 +00:00
default.nix refactor(tvix): split binary (REPL etc.) out from evaluator library 2022-12-21 13:09:29 +00:00