Skip to content

Commit 7ad7f2b

Browse files
committed
Nix-dev-env: update GHC to current Nixpkgs default
1 parent 5ba249c commit 7ad7f2b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
# 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.
33
# Compiler in a form ghc8101 <- GHC 8.10.1, just remove spaces and dots
4-
compiler ? "ghc8104"
4+
compiler ? "ghc8107"
55

66
# Deafult.nix is a unit package abstraciton that allows to abstract over packages even in monorepos:
77
# Example: pass --arg cabalName --arg packageRoot "./subprojectDir", or map default.nix over a list of tiples for subprojects.

shell.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ attrs@{...}:
22
let defaultAttrs = {
33
# Defaults are put in this form deliberately. Details: #748
44
withHoogle = true;
5-
compiler = "ghc8104";
5+
compiler = "ghc8107";
66
};
77
in (import ./. (defaultAttrs // attrs)).env

0 commit comments

Comments
 (0)