about summary refs log tree commit diff
path: root/buf.yaml
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-04-12T16·23+0300
committerclbot <clbot@tvl.fyi>2024-04-13T10·44+0000
commita4f65ddba06f1170905f7f0ea03616bd690b13d0 (patch)
treec628a507c2247780fe836cbcac6746bb87ac0016 /buf.yaml
parent863c4207cc2adbbcbfa539fbfb4765c135801e77 (diff)
feat(tvix/store/bin): add "copy" command r/7900
This allows copying individual store paths from the local /nix/store
into tvix-store.

As we don't support getting this information from Nix yet, we currently
expect metadata to be provided externally:

Nix' `exportReferencesGraph` feature contains pretty much all data we
need for this. Expect a list of this information at a well-known key
(`closure`, similar to nixpkgs' `pkgs/build-support/binary-cache/
default.nix`).

We currently simply upload all store paths sequentially, without any
parallelism or awareness in how the reference graph looks like.

As long as the connected stores don't enforce this, this is fine, at
least for now.

Change-Id: Ib83c998465adddfdb110db994843c44e26b3d3d8
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11397
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Tested-by: BuildkiteCI
Autosubmit: flokli <flokli@flokli.de>
Diffstat (limited to 'buf.yaml')
0 files changed, 0 insertions, 0 deletions