How to Actually Read Nix Error Messages (Without Crying)

The rule I learned: The error location at the top is where Nix crashed. Your bug is almost always in the last line of the trace, or just above it. Read the trace bottom-up. That’s it. That’s the whole trick.

7 Likes

Thank you for sharing.

By the way, I like the hashes preceding headings.