tvl-depot/tvix/cli
Florian Klink 5f2c2e79e1 refactor(tvix/nix-compat): move build_store_path out of derivation
This doesn't have anything to do with ATerms, we just happen to be using
the aterm representation of a Derivation as contents.

Moving this into store_path/utils.rs makes these things much cleaner -
Have a build_store_path_from_references function, and a
build_store_path_from_fingerprint helper function that makes use of it.

build_store_path_from_references is invoked from the derivation module
which can be used to calculate the derivation path.

In the derivation module, we also invoke
build_store_path_from_fingerprint during the output path calculation.

Change-Id: Ia8d61a5e8e5d3f396f93593676ed3f5d1a3f1d66
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8367
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
2023-03-30 14:03:35 +00:00
..
src refactor(tvix/nix-compat): move build_store_path out of derivation 2023-03-30 14:03:35 +00:00
Cargo.toml fix(tvix/cli): use tvlfyi/wu-manber fork for refscanner 2023-02-04 12:44:59 +00:00
default.nix chore(tvix/cli): don't set COREPKGS anymore 2023-03-14 20:50:01 +00:00