Nixify Haskell projects

This is a tutorial series on nixifying Haskell projects. In part 1, we will begin with using nothing but nixpkgs. In the latter parts, we’ll use simplifiy our project Nix code through haskell-flake which builds on top of the Haskell infrastructure in nixpkgs. 1

Footnotes
1.
There are also other approaches (like haskell.nix, stacklock2nix).
Links to this page
  • Tutorials
  • Nixifying a Haskell project using nixpkgs

    Welcome to the Nixify Haskell projects series, where we start our journey by integrating a Haskell application, particularly one using a PostgreSQL database, into a single-command deployable package. By the end of this article, you’ll have a flake.nix file that’s set to build the project, establish the development environment, and execute the Haskell application along with all its dependent services like PostgreSQL and PostgREST. We’ll be using todo-app as a running case study throughout the series, demonstrating the process of building a Haskell project and effectively managing runtime dependencies, such as databases and other services, thereby illustrating the streamlined and powerful capabilities Nix introduces to Haskell development.

  • Haskell

    For nixifying Haskell projects, see our tutorial series Nixify Haskell projects