Closed s-and-witch closed 1 year ago
Problem: this implementation of nar made non-identical archives with the original implementation
Solution: doesn't treat the directory symlinks as they are directories
See https://github.com/haskell-nix/hnix-store/issues/198#issuecomment-1365911042 for the MRE
Can you also make a test case?
https://github.com/haskell-nix/hnix-store/blob/master/hnix-store-core/tests/NarFormat.hs
Done
Problem: this implementation of nar made non-identical archives with the original implementation
Solution: doesn't treat the directory symlinks as they are directories
See https://github.com/haskell-nix/hnix-store/issues/198#issuecomment-1365911042 for the MRE