tweag / haskell-stack-nix-example

Examples of valid and invalid Stack + Nix integration
MIT License
20 stars 5 forks source link

Stack + Nix integration

This branch supports our Smooth, non-invasive Haskell Stack and Nix shell integration blog post by showcasing a working Haskell Stack + Nix shell integration.

$ nix-shell
[nix-shell]$ stack build

You can use a tool like niv to manage and update the nixpkgs version.

$ niv update nixpkgs