When comparing NixOS vs Haiku, the Slant community recommends NixOS for most people. In the question“What are the best operating systems for advanced users?” NixOS is ranked 8th while Haiku is ranked 16th. The most important reason people chose NixOS is:
Atomic non-destructive upgrades / rollback of a system upgrade / declarative reproducible system configuration / unprivileged installation of packages / transparent source or binary deployment.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro State of the art package manager
Atomic non-destructive upgrades / rollback of a system upgrade / declarative reproducible system configuration / unprivileged installation of packages / transparent source or binary deployment.
Pro Minimal
You can start with a minimal environment and add packages and software to suit your needs as you go along.
Pro Reproducible system
NixOS is configured using the Nix package manager, allowing your system to be replicated and kept in sync across multiple machines. Great for keeping a laptop and desktop in sync.
Pro Robust
Packages don't break after a NixOS upgrade as they are prone to with other distros (especially Arch).
Pro Very fast
Pro Beta has been released
After about 6 years since the alpha version, beta has been released on Fri, 2018-09-28. Check here for release notes.
Pro Only need 512mb ram
Pro Stability
Pro Runs perfectly on old Hardware
Cons
Con Documentation is not good
A lot of the documentation of various functions is buried on the source code, their respective manuals, or non-existent. The documentation, the conventions, and the scattered toolchain really made searching for stuff easily missable.
Con A configuration change might end up bricking your system
Con No one uses it
It's a very niche OS that no one uses.
Con Unfinished
It's still in beta and quite unstable. Making it unsuitable for developing applications of any kind.
Con Language support is terrible

Con Small community
It is important when developing to be familiar with tools that other developers use. You can make any utility in any language you feel like, but if it's in an esoteric language that no one can read targeting a small platform that no one uses, then it was just something you did as a hobbyist, not as a developer.
This is not to say that Haiku isn't a great operating system to hack around on. Just don't delude yourself into thinking you're doing it to get familiar with tools that you need to know to be a better developer.
Con UI quite different to other OSes
