Skip to content

Commit

Permalink
Only cross compile for windows on x86_64-linux
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishmack committed Jun 11, 2024
1 parent fd17a2f commit c81f7da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@

# we also want cross compilation to windows.
crossPlatforms = p:
lib.optional (builtins.elem config.compiler-nix-name ["ghc8107" "ghc928"]) p.mingwW64;
lib.optional (system == "x86_64-linux" && builtins.elem config.compiler-nix-name ["ghc8107" "ghc928"]) p.mingwW64;
};

# CHaP input map, so we can find CHaP packages (needs to be more
Expand Down

0 comments on commit c81f7da

Please sign in to comment.