When comparing Slackware vs Nix os , 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 Slackware is ranked 19th. 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 Stable
Uses stable, plain-vanilla packages from upstream.
Pro Strong adherence to UNIX Principals
Pro Ideal to learn more of Linux
Follows the original Linux roots. It still sees Linux as a free clone of UNIX so the distribution tries to be UNIX-like.

Pro Package management
Uses standard tar archives with shell scripting as packages.
Pro One more distro which is init based
Some users don't like to install systemd based distros because they increase booting and processing speed.
Pro Oldest surviving Linux distro
Besides Debian (which was first released in August 1993), it is the oldest still maintained Linux Distribution and was first released in July 1993.
Pro Super fast
Pro No systemd

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.
Cons
Con Not user-friendly
It is made to be KISS (keep it simple, stupid), so you have to do everything by hand.
Con Large size live ISO
One needs to vain 3GB+ data for downloading one slackware ISO.
Con Narrow repos
Doesn't offer the same amount of options as other distros do.
Con Niche/small community
Slackware is its own niche and has a small community.
Con Very slow release cycle
Hasn't updated in 3+ years.
Con Dependency issues
When it comes to dependencies, Slackware shows more issues than many other distros.

Con The configuration language is hard to figure out
For good reason. It's a purely functional language. However not even close to bash.
