default.nix: switch to the GHC 8.10.1, now executable gets build

This commit is contained in:
Anton-Latukha 2020-09-29 23:22:17 +03:00
parent 85710682e7
commit 0cb499d9d8
No known key found for this signature in database
GPG Key ID: 3D84C07E91802E41
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
{
# Default GHC for Nixpkgs by default, for current default and explicitly supported GHCs https://search.nixos.org/packages?query=ghc&from=0&size=500&channel=unstable, Nixpkgs implicitly supports older minor versions also, until the configuration departs from compatibility with them.
# For current default and explicitly supported GHCs https://search.nixos.org/packages?query=ghc&from=0&size=500&channel=unstable, Nixpkgs implicitly supports older minor versions also, until the configuration departs from compatibility with them.
# Compiler in a form ghc8101 <- GHC 8.10.1, just remove spaces and dots
compiler ? "default"
compiler ? "ghc8101"
# Deafult.nix is a unit package abstraciton that allows to abstract over packages even in monorepos:
# Example: pass --arg cabalName --arg packageRoot "./subprojectDir", or map default.nix over a list of tiples for subprojects.