News for hackers. Stuff that matters.
Re:Ask HN: What have you built more than twice and wish some... by lrvick on Wednesday January 18, 2023 @11:22AM (#34428737)
I would note that while Nix is very well designed, and may be incredibly useful in untrusted dev environments, it should not be used to compile anything that touches production. Nix got where it is so quickly by mostly ignoring basic supply chain integrity like author package signing. It is always one compromised Github account or single dev workstation away from a massive supply chain attack.

Nix, NPM, Brew, Pip, etc all have basically the same blind trust security posture and should thus not be trusted. I generally suggest Debian in a container for a dual use dev/compile container made of signed/vetted/reproducibly-built dev/build/debug dependencies.

Re:Ask HN: What have you built more than twice and wish some... by jjj123 on Wednesday January 18, 2023 @12:08PM (#34429486)
As someone who knows nothing about package signing and security, are you saying that Nix is about as secure as NPM?
Re:Ask HN: What have you built more than twice and wish some... by lrvick on Wednesday January 18, 2023 @01:46PM (#34431025)
Correct, and that is not a good thing.