Skip to content

Commit

Permalink
Use ucrt64 for GHC 9 windows cross compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishmack committed May 9, 2024
1 parent 9d85432 commit e7690bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nix/haskell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ haskell-nix.cabalProject' (
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") ucrt66;
lib.optional (system == "x86_64-linux" && config.compiler-nix-name != "ghc8107") ucrt64;
};
shell = {
crossPlatforms = p: lib.optional (compareGhc "9.0" < 0) p.ghcjs;
Expand Down

0 comments on commit e7690bc

Please sign in to comment.