nix-serve icon indicating copy to clipboard operation
nix-serve copied to clipboard

Pushing to nix-serve

Open DieracDelta opened this issue 4 years ago • 1 comments

Suppose I build package A on my computer and want to push it to the cache. With cachix, I would do nix build $REPO | cachix push $CACHE_NAME. Any idea how to achieve something similar with nix-serve? I don't see mention of this in the docs.

DieracDelta avatar May 05 '21 17:05 DieracDelta

This may be a bit late but you can always copy the result with nix copy and nix-copy-closure. This ofc requires your builder to have write access to the nix store of the cache.

bzadm avatar Dec 08 '23 09:12 bzadm