edolstra / nix-serve

A standalone Nix binary cache server
GNU Lesser General Public License v2.1
174 stars 37 forks source link

`CA:` field is missing in `.narinfo` files #53

Open kvtb opened 1 year ago

kvtb commented 1 year ago

Unlike cache.nixos.org, nix-serve's .narinfo files have no CA: field.

As the result, FOD's downloaded from nix-serve are not marked as FOD locally.

It is a minor issue which have subtle consequences you may hit years after: it breaks nothing until you perform an action which depends on whether a derivation FOD or not (e.g. you may want to prevent FODs from being GC'ed and suddenly you have no way to distinguish them reliably)