flokli / nix-casync

A more efficient way to store and substitute Nix store paths
80 stars 4 forks source link

Use a database for storing Store Path data and Narfile metadata #9

Open flokli opened 2 years ago

flokli commented 2 years ago

A NarinfoStore already receives and delivers narinfo.NarInfo structs.

There's no point serializing them back to disk, and parsing them in .narinfo file format.

We could use another database/KV store, which we can then also extend to ask some questions regarding garbage collection.