snix/tvix/nix-compat/src/narinfo
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
..
fingerprint.rs docs(nix-compat/narinfo/fingerprint): fix reference 2023-12-21 16:36:34 +00:00
mod.rs refactor(tvix/nix-compat): remove use of lazy_static 2024-10-13 14:31:42 +00:00
signature.rs feat(tvix-store): Improve tvix-store copy. 2024-11-12 16:43:21 +00:00
signing_keys.rs feat(nix-compat/narinfo/signature): generalize name field 2024-08-19 19:46:34 +00:00
verifying_keys.rs feat(nix-compat/narinfo/signature): generalize name field 2024-08-19 19:46:34 +00:00