I'm new to Nix and wanted to get my feet wet by using the Nix package manager. However, I wasn't sure how these packages were made. Are these packaged by the community? Who do I need to "trust" when installing these packages? In general, I was looking for info on how nix packages are made and maintained.

all 4 comments

sorted by: hot top controversial new old
[–] 0 points 3 years ago (1 child)

Trust is a broad term. If you're paranoid, find the package you care about here, and read every line:

https://github.com/NixOS/nixpkgs

If you're slightly less paranoid, check the git blame logs for anyone that's touched a package you care about. If you trust all of them, then you're good.

If you're less paranoid than that, assume that someone reasonable is in charge of that repo. You'll get warnings about insecure packages. I've had to Ok a few insecure packages in my configuration.nix, because I assume the packagers are reasonable people. I may yet find out I've made a mistake.

Broadly speaking, I think it's the same model as any other distro. Debian for example has volunteers that package stuff. You can go through the same process above and decide how paranoid you want to be for that as well.

  • source
  • hideshow 2 child comments
  • [+] [S] 1 point 3 years ago* (last edited 1 year ago) (1 child)