Skip to content

Commit

Permalink
Stick with long ghc nix names for now
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishmack committed Oct 17, 2023
1 parent a31d477 commit 9cd6731
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -72,22 +72,22 @@
# Map the compiler-nix-name to a final compiler-nix-name the way haskell.nix
# projects do (that way we can use short names)
let compilers = pkgs: pkgs.lib.genAttrs [
"ghc810"
"ghc90"
"ghc92"
"ghc94"
"ghc96"
"ghc98"
"ghc8107"
"ghc902"
"ghc928"
"ghc947"
"ghc963"
"ghc981"
"ghc99"] (short-name: rec {
inherit pkgs self toolsModule;
compiler-nix-name = pkgs.haskell-nix.resolve-compiler-name short-name;
compiler = pkgs.buildPackages.haskell-nix.compiler.${compiler-nix-name};
});
js-compilers = pkgs: builtins.removeAttrs (compilers pkgs)
[
"ghc90"
"ghc92"
"ghc94"
"ghc902"
"ghc928"
"ghc947"
];
windows-compilers = pkgs:
pkgs.lib.optionalAttrs (__elem system ["x86_64-linux"])
Expand Down

0 comments on commit 9cd6731

Please sign in to comment.