Hacker News new | ask | show | jobs
by soraminazuki 1556 days ago
You might want to read "Nix Pills" if you ever want to look into Nix again. It's the best introductory material for Nix that I'm aware of, and it gave me a better picture of the basics required to get comfortable with Nix.

It's on the NixOS website, but IMO it's worth making it more visible to newcomers:

https://nixos.org/guides/nix-pills/

From my experience, it became considerably more easier to figure out or search for solutions once I've grasped the basics from "Nix Pills." Once I became comfortable enough, I also relied heavily on the Nixpkgs repository[1] as a great source of information. It has an approachable codebase and some quick grepping gave me many examples when trying to figure out how to write packages for a particular language.

[1]: https://github.com/NixOS/nixpkgs