Skip to content

Commit

Permalink
Only use ucrt64 for ghc982
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishmack committed May 9, 2024
1 parent 7b9d3c6 commit 25464d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nix/haskell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ haskell-nix.cabalProject' (
crossPlatforms = p: with p;
lib.optional (!builtins.elem config.compiler-nix-name ["ghc928"]) ghcjs ++
lib.optional (system == "x86_64-linux") musl64 ++
lib.optional (system == "x86_64-linux" && config.compiler-nix-name == "ghc8107") mingwW64 ++
lib.optional (system == "x86_64-linux" && config.compiler-nix-name != "ghc8107") ucrt64;
lib.optional (system == "x86_64-linux" && config.compiler-nix-name != "ghc982") mingwW64 ++
lib.optional (system == "x86_64-linux" && config.compiler-nix-name == "ghc982") ucrt64;
};
shell = {
crossPlatforms = p: lib.optional (compareGhc "9.0" < 0) p.ghcjs;
Expand Down

0 comments on commit 25464d6

Please sign in to comment.