This packages provides lightweight nix shells for general haskell development with cabal
.
The below matrix shows how well a particular GHC version is supported. Legend:
- 🌕: Support exists with good caching.
- 🌓: Support exists with poor caching.
- 🌑: Support does not exist.
GHC versions that support all tools and have fast caching are bolded. In the interest of brevity, only the latest 3 major versions are listed. Older versions are listed in the collapsed table below.
GHC | Caching | apply-refact | fourmolu | hlint | hls | ormolu |
---|---|---|---|---|---|---|
9.6.1 | 🌓 | 🌕 | 🌕 | 🌕 | 🌕 | 🌕 |
9.6.2 | 🌕 | 🌕 | 🌕 | 🌕 | 🌕 | 🌕 |
9.6.3 | 🌕 | 🌕 | 🌕 | 🌕 | 🌕 | 🌕 |
9.6.4 | 🌕 | 🌕 | 🌕 | 🌕 | 🌕 | 🌕 |
9.6.5 | 🌕 | 🌕 | 🌕 | 🌕 | 🌕 | 🌕 |
9.6.6 | 🌕 | 🌕 | 🌕 | 🌕 | 🌕 | 🌕 |
9.8.1 | 🌕 | 🌑 | 🌓 | 🌓 | 🌓 | 🌓 |
9.8.2 | 🌕 | 🌕 | 🌕 | 🌕 | 🌕 | 🌕 |
9.8.3 | 🌕 | 🌑 | 🌑 | 🌑 | 🌑 | 🌑 |
9.10.1 | 🌕 | 🌑 | 🌕 | 🌑 | 🌕 | 🌕 |
Click to expand legacy versions
GHC | Caching | apply-refact | fourmolu | hlint | hls | ormolu |
---|---|---|---|---|---|---|
8.10.7 | 🌕 | 🌕 | 🌕 | 🌕 | 🌕 | 🌕 |
9.0.2 | 🌕 | 🌕 | 🌕 | 🌕 | 🌕 | 🌕 |
9.2.5 | 🌕 | 🌕 | 🌕 | 🌕 | 🌕 | 🌕 |
9.2.7 | 🌕 | 🌕 | 🌕 | 🌕 | 🌕 | 🌕 |
9.2.8 | 🌕 | 🌕 | 🌕 | 🌕 | 🌕 | 🌕 |
9.4.4 | 🌓 | 🌕 | 🌕 | 🌕 | 🌕 | 🌕 |
9.4.5 | 🌕 | 🌕 | 🌕 | 🌕 | 🌕 | 🌕 |
9.4.6 | 🌕 | 🌕 | 🌕 | 🌕 | 🌕 | 🌕 |
9.4.7 | 🌕 | 🌕 | 🌕 | 🌕 | 🌕 | 🌕 |
9.4.8 | 🌕 | 🌕 | 🌕 | 🌕 | 🌕 | 🌕 |
This section lists the provided shells. For shells with arguments, the default value (if any) is listed in parentheses.
apply-refact
(false
)fourmolu
(false
)ghc-vers
ormolu
(false
)hlint
(false
)hls
(false
)
Attr: default
Description: Nix shell for general haskell development. Most packages can use this shell. Includes cabal
and ghc
. Note that there is no guarantee every dev tool will work with every ghc-vers
. In particular, there will often be a lag time before the latest GHCs are fully supported.
The default ghc is the latest version that works with every tool and has decent nix caching.
Args:
apply-refact
fourmolu
ghc-vers
(ghc982
)hlint
hls
ormolu
Usage:
nix-shell https://github.com/tbidne/hs-nix-shells/archive/main.tar.gz -A default
nix-shell https://github.com/tbidne/hs-nix-shells/archive/main.tar.gz -A default \
--argstr ghc-vers ghc925 \
--arg hls true
Attr: liquidhaskell
Description: Nix shell for LiquidHaskell
. Includes cabal
, ghc
, and the z3
smt solver.
Args:
ghc-vers
hlint
hls
Usage:
nix-shell https://github.com/tbidne/hs-nix-shells/archive/main.tar.gz -A liquidhaskell