mirror of
https://github.com/haskell-nix/hnix.git
synced 2024-10-05 19:37:13 +03:00
nix: compiler ghc8107 -> ghc947
This commit is contained in:
parent
c8b753e870
commit
81d8e1610b
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user