Haskell: Difference between revisions
imported>Garethstokes m replacing haskell.packages.ghc884 with haskell.compiler.ghc844 as the original does not build |
imported>Andreabedini Mention new features in cabal 2.0 |
||
Line 57: | Line 57: | ||
</pre> | </pre> | ||
Notes: | |||
* some packages may need additional libraries/programs, notably <code>zlib</code>, you should be able to add them as additional programs in the nix-shell option | |||
* since Cabal 2.0, cabal has acquired caching similar to nix (but not as powerful) and reproducibility (via the cabal.project file and the index-state option). See [https://cabal.readthedocs.io/en/stable/cabal-project.html#cfg-field-index-state] for more information. | |||
=== Using Stack (no nix caching) === | === Using Stack (no nix caching) === |