Skip to content

Commit

Permalink
flake.nix: List recent GHC
Browse files Browse the repository at this point in the history
  • Loading branch information
JackKelly-Bellroy committed Jun 28, 2024
1 parent 115c1d1 commit 214146a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 31 deletions.
22 changes: 8 additions & 14 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,14 @@

outputs = inputs:
inputs.bellroy-nix-foss.lib.haskellProject {
cabalPackages = [
{
name = "wai-handler-hal";
path = ./wai-handler-hal.nix;
}
supportedCompilers = [
"ghc8107"
"ghc92"
"ghc94"
"ghc96"
"ghc98"
"ghc910"
];
supportedCompilers = [ "ghc8107" "ghc92" "ghc94" ];
defaultCompiler = "ghc92";
haskellPackagesOverride = { compilerName, haskellLib, final, prev }:
if compilerName == "ghc94"
then {
# hal doesn't support newer hedgehog
hedgehog = haskellLib.compose.dontCheck (prev.callHackage "hedgehog" "1.1.2" { });
}
else { };
defaultCompiler = "ghc96";
};
}
17 changes: 0 additions & 17 deletions wai-handler-hal.nix

This file was deleted.

0 comments on commit 214146a

Please sign in to comment.