Skip to content

Instantly share code, notes, and snippets.

@cideM
Created January 7, 2021 10:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cideM/bc24cf4dca7c0b864581d49ca730e9d4 to your computer and use it in GitHub Desktop.
Save cideM/bc24cf4dca7c0b864581d49ca730e9d4 to your computer and use it in GitHub Desktop.
Nix Shell With Specific GHC Version
$ nix-env -f "<nixpkgs>" -qaP -A haskell.compiler
haskell.compiler.ghc8101 ghc-8.10.1
haskell.compiler.integer-simple.ghc8101 ghc-8.10.1
haskell.compiler.ghc8102 ghc-8.10.2
haskell.compiler.integer-simple.ghc8102 ghc-8.10.2
haskell.compiler.ghc8102Binary ghc-8.10.2-binary
haskell.compiler.ghc8102BinaryMinimal ghc-8.10.2-binary
haskell.compiler.integer-simple.ghc8103 ghc-8.10.3
haskell.compiler.ghc8103 ghc-8.10.3
haskell.compiler.native-bignum.ghcHEAD ghc-8.11.20200824
haskell.compiler.ghcHEAD ghc-8.11.20200824
haskell.compiler.ghc822Binary ghc-8.2.2-binary
haskell.compiler.integer-simple.ghc865 ghc-8.6.5
haskell.compiler.ghc865 ghc-8.6.5
haskell.compiler.ghc865Binary ghc-8.6.5-binary
haskell.compiler.ghc882 ghc-8.8.2
haskell.compiler.integer-simple.ghc882 ghc-8.8.2
haskell.compiler.ghc883 ghc-8.8.3
haskell.compiler.integer-simple.ghc883 ghc-8.8.3
haskell.compiler.ghc884 ghc-8.8.4
haskell.compiler.integer-simple.ghc884 ghc-8.8.4
haskell.compiler.integer-simple.ghc901 ghc-9.0.0.20201227
haskell.compiler.ghc901 ghc-9.0.0.20201227
haskell.compiler.ghcjs ghcjs-8.6.0.1
$ nix-shell -p haskell.compiler.ghc884 cabal-install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment