Hacker News new | ask | show | jobs
Getting Started with Haskell and Nix (freefrancisco.substack.com)
5 points by freefrancisco 1185 days ago
1 comments

This is by far the easiest intro to using haskell the best fp using nix

Nix seems like alien language but it starts getting easier with usage

nix-env -iA nixpkgs.direnv

i was looking for a package manager that replaces the old paradigm, and after reading up on nix i hopped into its community only to find out they're mostly Haskell people using it instead of cabal, which is the exact reason i was looking for a new package manager to begin with

And configuring direnv based on the article

To make it so lazy that every time you cd into a directory your nix environment is automatically loaded this is pure functional programming magic