Haskell: Difference between revisions
imported>Dschrempf m →Using haskell.nix (for complex projects): rm indefinite article |
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. | 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"> |