News for hackers. Stuff that matters.
Re:Git archive checksums may change by rsc on Tuesday January 31, 2023 @02:17PM (#34600323)
> If you adopt Nix fully, ...

The case where Nix is not adopted fully is the one I have in mind.

Re:Git archive checksums may change by matthewcroughan on Tuesday January 31, 2023 @03:01PM (#34601049)
This is the only case then?
Re:Git archive checksums may change by rsc on Tuesday January 31, 2023 @04:26PM (#34602407)
My point is about (1) the broader ecosystem of tools that may need to interoperate and have easy access to "SHA256 the whole file" and (2) the fact that not everything is a tar file that the Nix tools can process. So yes, that's the "only" case.
Re:Git archive checksums may change by matthewcroughan on Tuesday January 31, 2023 @07:50PM (#34604704)
So what about the IPFS CAR format? https://car.ipfs.io/, it would fulfill a lot of what I expect from NAR too. NAR or CAR, I don't care, I believe the content is what matters, not the container format.

If I have a box with an apple in it, I don't care about the box, I care about the apple inside. If it's not an apple, I don't want to eat it.