<gchristensen>
I wonder if we could write a tool to do unicode normalization?
<gchristensen>
and enforce it in the fetcher
<LnL>
there's already something weird with hashing for darwin in nix, but I'm not sure how what it is
<LnL>
use-case-hack Whether to enable a Darwin-specific hack for dealing with file name collisions.
<gchristensen>
right :/
<LnL>
but it's probably not possible to do something similar here since information is lost with the normalisation
<gchristensen>
it is?
<gchristensen>
maybe I'm misunderstanding what unicode normalization does
<LnL>
dunno :)
* gchristensen
DDG searches horrible things like "unicode normalization bash"
<LnL>
how I think it works you shouldn't get hash mismatches so I have no idae
<gchristensen>
find, xargs, uconv, mv , ...
<LnL>
hehe
<LnL>
"APFS stores the filename as it is received. No transformation is applied"
<samueldr>
IIUC, it is nix that handles hashing the extracted directory, right? could it be a feature added to nix to hash from a tarball stream, while normalizing what needs to be normalized?
<LnL>
that's what I thought, so list gives the same value but read/write is normalized before hashing