tweag/haskell-stack-nix-example

Examples of valid and invalid Stack + Nix integration

Nix

20

4 commits

updated Nov 30, 2023

See the code

README

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