nix: compiler ghc8107 -> ghc947

This commit is contained in:
Richard Marko 2023-11-18 08:13:15 +01:00
parent c8b753e870
commit 81d8e1610b
3 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
{
# 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 ? "ghc8107"
compiler ? "ghc947"
# 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.

View File

@ -27,7 +27,7 @@
(system: pkgs: import ./default.nix {
inherit pkgs;
withHoogle = true;
compiler = "ghc8107";
compiler = "ghc947";
packageRoot = pkgs.runCommand "hnix-src" {} ''
cp -r ${./.} $out
chmod -R +w $out

View File

@ -3,6 +3,6 @@ let defaultAttrs = {
# Defaults are put in this form deliberately. Details: #748
withHoogle = true;
returnShellEnv = true;
compiler = "ghc8107";
compiler = "ghc947";
};
in (import ./. (defaultAttrs // attrs))