Pragmatic tutorial on how to use nix with a haskell monorepo
Nix
158
77 commits
updated Jul 14, 2023
I recently tried to create Nix setup for our Haskell monorepo at work. This tutorial documents the whole process. This is still experimental and any feedback is very welcome. If you find it hard to understand some part just open an issue.
I absolutely recommend reading first Gabriella's tutorial on how to use Nix with Haskell in general.
Even though you end up with a project that can be fully built with Nix, chapter 5. shell.nix describes how you can use Nix to only
provision your dependencies and use only Cabal and its v2- multi-package API to manage your build during development completely transparently.
What can you gain by following this tutorial:
76 commits
1 commits
Nix
89.9%
Haskell
9.1%
Shell
1.1%
Pragmatic tutorial on how to use nix with a haskell monorepo
Nix
158
77 commits
updated Jul 14, 2023
I recently tried to create Nix setup for our Haskell monorepo at work. This tutorial documents the whole process. This is still experimental and any feedback is very welcome. If you find it hard to understand some part just open an issue.
I absolutely recommend reading first Gabriella's tutorial on how to use Nix with Haskell in general.
Even though you end up with a project that can be fully built with Nix, chapter 5. shell.nix describes how you can use Nix to only
provision your dependencies and use only Cabal and its v2- multi-package API to manage your build during development completely transparently.
What can you gain by following this tutorial:
76 commits
1 commits
Nix
89.9%
Haskell
9.1%
Shell
1.1%