A bit of implementation detail: Yes I had to avoid nix copy
which decompresses and recompresses packages. xz
is terribly computationally heavy and instantly turns the mirroring server into a build farm. As described in this comment I just used
nix path-info
to get the narinfo
data and went from there.
1 Like