mateamt: add ghcBlacklist

This commit is contained in:
Astro 2019-12-15 21:12:48 +01:00
parent cb7727ee38
commit ae998efd13
1 changed files with 8 additions and 1 deletions

View File

@ -3,9 +3,16 @@
with pkgs;
let
mateamt = haskellPackages.callPackage <mateamt/shell.nix>;
ghcBlacklist = [
"ghc822"
"ghc844"
"ghc881"
"ghcHEAD"
];
ghcVersions =
builtins.filter (p:
p == "ghcHEAD" || builtins.match "ghc[[:digit:]]+" p != null
(p == "ghcHEAD" || builtins.match "ghc[[:digit:]]+" p != null) &&
(!builtins.elem p ghcBlacklist)
) (builtins.attrNames haskell.packages);
in