Jump to content

Haskell: Difference between revisions

No change in size ,  2 December 2022
m
replacing haskell.packages.ghc884 with haskell.compiler.ghc844 as the original does not build
imported>Dschrempf
imported>Garethstokes
m (replacing haskell.packages.ghc884 with haskell.compiler.ghc844 as the original does not build)
Line 19: Line 19:
[[File:haskell_choice.png]]
[[File:haskell_choice.png]]


Note that in the following, <code>haskellPackages</code> is a synonym of <code>haskell.packages.ghcXYZ</code> where <code>XYZ</code> is the current default version of GHC in nixpkgs. However you can use a different version by replacing <code>haskellPackages</code> with the wanted package, for instance use <code>haskell.packages.ghc884</code> to use GHC 8.8.4. You can get the full list of available GHC versions using:
Note that in the following, <code>haskellPackages</code> is a synonym of <code>haskell.packages.ghcXYZ</code> where <code>XYZ</code> is the current default version of GHC in nixpkgs. However you can use a different version by replacing <code>haskellPackages</code> with the wanted package, for instance use <code>haskell.compiler.ghc884</code> to use GHC 8.8.4. You can get the full list of available GHC versions using:


<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
Anonymous user