Jump to content

Haskell: Difference between revisions

266 bytes added ,  25 January 2023
Mention new features in cabal 2.0
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>


Note that 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.
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) ===
Anonymous user