How is the nix hash for a directory generated?

I implemented the NAR serialization algorithm from https://edolstra.github.io/pubs/phd-thesis.pdf (Figure 5.2, page 101) in clojure:

The hash from the NAR is the hash for a directory :slight_smile:

Thanks to you both @NobbZ @abathur

2 Likes