tvl-depot/tvix/store/src
Vova Kryachko 6aada91062 feat(tvix-store): Improve tvix-store copy.
This change contains 2 improvements to the tvix-store copy command:

1. Allows reading the reference graph from stdin, using `-` argument
2. Supports json representation produced by `nix path-info --json`
   command.

In general it makes is easier and faster to import arbitrary closures
from an existing nix store with e.g the following command:

```
nix path-info ./result --json --closure-size --recursive | \
  jq -s '{closure: add}' | \
  tvix-store copy -
```

Change-Id: Id6eea2993da233ecfbdc186f1a8c37735b686264
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12765
Tested-by: BuildkiteCI
Reviewed-by: flokli <flokli@flokli.de>
2024-11-12 16:43:21 +00:00
..
bin feat(tvix-store): Improve tvix-store copy. 2024-11-12 16:43:21 +00:00
nar refactor(tvix): make indicatif.pb_show=1 more explicit 2024-10-19 09:37:23 +00:00
pathinfoservice fix(tvix): use tracing::field::Empty for all indicatif.pb_show 2024-11-12 00:28:32 +00:00
proto refactor(tvix/castore): add try_into_anonymous_node, rename to try_* 2024-10-19 09:35:53 +00:00
tests refactor(tvix/store): remove use of lazy_static 2024-10-17 22:15:48 +00:00
composition.rs docs(tvix/[ca]store): improve docstrings, remove wildcard imports 2024-11-11 18:46:33 +00:00
import.rs refactor(nix-compat/store_path): drop build_nar_based_store_path 2024-10-17 18:16:30 +00:00
lib.rs refactor(tvix/store): use strictly typed PathInfo struct 2024-10-11 17:18:20 +00:00
path_info.rs refactor(tvix/store): use strictly typed PathInfo struct 2024-10-11 17:18:20 +00:00
utils.rs docs(tvix/[ca]store): improve docstrings, remove wildcard imports 2024-11-11 18:46:33 +00:00