Hacker News new | past | comments | ask | show | jobs | submit login

Speaking of NixOS test, I recently found this: https://numtide.com/blog/nix-vm-test-reproducible-integratio...

---

IMO the most annoying part with NixOS Test is, just like any other parts of Nix/NixOS, it's horribly documented. Either the documentation is out-of-date or just not there at all.

I tried to write and run Playwright tests using NixOS Test but I hit a dead end. I just confused by the lack of documentation and gave up. Also kinda hard to use as you'd need to know the location of each browser driver executables. There also this thread (https://discourse.nixos.org/t/running-playwright-tests/25655...) but it doesn't really help my case.

And if that's not already bad, I found this (https://nixos.org/manual/nixpkgs/stable/#ssec-package-tests-...) section of the docs recently and it said "This section has been moved to pkgs/README.md.", but when I read the README file, it doesn't have what the test package example I was looking for! This is... annoying

Nix is a very good piece of software, I will even say it's one of the best piece of software ever made. But, what's the point of making software if no one else can understand it? I hope this become a lesson




I've been running NixOS for almost a year and I agree, Nix is amazing and I love having all my config in a repo, easily reproducible. But god do I miss Arch's documentation so so much.


> And if that's not already bad, I found this section of the docs recently and it said "This section has been moved to pkgs/README.md.", but when I read the README file, it doesn't have what the test package example I was looking for! This is... annoying

That's on me, sorry! Ironically this was the artifact of a pretty large effort to _improve_ documentation [1]! This evidently wasn't executed perfectly, but I was also able to make many desperately needed cleanups in turn.

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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: