daml/bazel_tools/haskell-windows-remove-fake-libs.patch
Andreas Herrmann 0544323dfc
upgrade rules_haskell (#6284)
* upgrade rules_haskell

CHANGELOG_BEGIN
CHANGELOG_END

* Use autogenerated stack_snapshot tools

* ghcide import-dirs flags

Co-authored-by: Andreas Herrmann <andreas.herrmann@tweag.io>
2020-06-10 17:21:31 +02:00

13 lines
596 B
Diff

diff --git a/haskell/ghc_bindist.bzl b/haskell/ghc_bindist.bzl
index 1d9c007c..f3677ef6 100644
--- a/haskell/ghc_bindist.bzl
+++ b/haskell/ghc_bindist.bzl
@@ -327,6 +327,7 @@ haskell_toolchain(
execute_or_fail_loudly(ctx, ["rm", "mingw/lib/gcc/x86_64-w64-mingw32/7.2.0/libstdc++.dll.a"])
execute_or_fail_loudly(ctx, ["rm", "mingw/x86_64-w64-mingw32/lib/libpthread.dll.a"])
execute_or_fail_loudly(ctx, ["rm", "mingw/x86_64-w64-mingw32/lib/libwinpthread.dll.a"])
+ execute_or_fail_loudly(ctx, ["rm", "mingw/lib/libz.dll.a"])
ctx.template(
"BUILD",