There were two issues, where hnix-store behaves different from nix-store:
1) narIsDir can throw error in case if the file to which it applies is a self-symlink like ln -s foo foo
2) If hnix-store have to work with non-ASCII file name, it generated corrupted archives due to issues with Data.ByteString.Char8.pack
There were two issues, where hnix-store behaves different from nix-store:
1)
narIsDir
can throw error in case if the file to which it applies is a self-symlink likeln -s foo foo
2) Ifhnix-store
have to work with non-ASCII file name, it generated corrupted archives due to issues with Data.ByteString.Char8.packMREs (look at this https://github.com/haskell-nix/hnix-store/issues/198#issuecomment-1355164581 comment for instructions how to reproduce):
1)
2)
Unfortunately, I can't make test cases for these bugs because the first requires test on the real FS and I don't know how to test the second one.