Skip to content

Commit

Permalink
For ghcjs use reinstallableLibGhc = false
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishmack committed May 7, 2024
1 parent 01bddcc commit f9f1cb1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nix/haskell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ haskell-nix.cabalProject' (
}))

(lib.mkIf isCrossBuild ({ pkgs, ... }: {
reinstallableLibGhc = false;

# Remove hsc2hs build-tool dependencies (suitable version will
# be available as part of the ghc derivation)
packages.Win32.components.library.build-tools = lib.mkForce [ ];
Expand Down

0 comments on commit f9f1cb1

Please sign in to comment.