When comparing Nix os vs Mint, the Slant community recommends Nix os for most people. In the question“What is the most secure Linux distro?” Nix os is ranked 16th while Mint is ranked 27th. The most important reason people chose Nix os is:
It has all of hackage in it's package manager (which is confusingly named "nix" as well) due to being based around hashing and allowing you to compile in a sort of virtual machine (really just changing the PATH variable temporarily) it solves many of the versioning problems that you commonly have with cabal. Here's a tutorial (there's many others as well) http://www.cse.chalmers.se/~bernardy/nix.html. Also I should note that you can use the package manager a la carte on Mac and most any linux distro.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Great for Haskell development
It has all of hackage in it's package manager (which is confusingly named "nix" as well) due to being based around hashing and allowing you to compile in a sort of virtual machine (really just changing the PATH variable temporarily) it solves many of the versioning problems that you commonly have with cabal. Here's a tutorial (there's many others as well) http://www.cse.chalmers.se/~bernardy/nix.html.
Also I should note that you can use the package manager a la carte on Mac and most any linux distro.
Pro Upgrading the system is extremely reliable
Since NixOS stores all its packages in isolation from each other in /nix/store
and because of the declarative configuration model, upgrading NoxOS systems is extremely reliable. Furthermore, it gives you the ability to roll back upgrades.
Pro Extremely reproducible state of installation
Every package in your system is generated from a configuration file. This makes it very easy to reproduce that environment. Just copy the config file into a new machine and it's done.
Pro Versatile snapshot system
You can use and test snapshots without rebooting. Booting into snapshots or test configurations is possible without risking the system's stability.
Pro Has docker like system built in
Pro Allows parallel configurations for multiple projects
As everything is isolated, you can have on the same machine multiple configurations to meet project requirements that would be mutually exclusive on other OSes.
Pro Writen in Crystal (Language)
Crystal is one of the best and elegant languages.
Pro Constructs for synchronous and asynchronous computations
Pro Easy to learn and write
Everything is an expression.
Pro HTML and CSS integration
HTML can be written with minimal differences.
Scoped .CSS can be written for elements in components.
Pro Good error support
200+ unique error messages to help you on the way.
Pro Everything is typed
Everything is typed using a simple type system
Pro Dead code elimination
Only used parts of the code compiles into the final bundle.
Pro Built-in formatter
Mint has a built-in formatter to format your code, it can run standalone or with the development server.
Pro Batteries included
Mint contains everything you need to build the frontend of web applications from styling to data storage through HTTP requests to testing.
Pro Integrated testing
Testing is part of the language and there is a test runner built in which runs tests in the browser.
Cons
Con The configuration language is hard to figure out
For good reason. It's a purely functional language. However not even close to bash.