This is perhaps a bigger project, and one that would require C++, but I
think a lack of the intentional store[1] is the single biggest missing
feature for Nix.

On 29-10-2015 13:28:10, Erik Rybakken wrote:

>  The IPFS-thing would be a channel with a binary cache, not a
> /nix/store!
>

I really want IPFS too, but we can only use it correctly once we have the
intentional store. Then the IPFS store *is* the nix store, and the trust
relation from derivations->files is dealt with IPNS. We can also ditch
SQLite by just storing everything in IPFS. (The data in the sqlite acyclic
and immutable, and thus *better* suited for IPFS, except for the
"referrers" relation, which just an inverted view on the reference
relation. And how much do we need the referrers relation anyways?) Only
issue is we'd need to ditch NAR-based hashing to conform to IPFS, and that
would require changing every hash in nixpkgs.

[1]: https://github.com/NixOS/nix/issues/296
_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to