daml/bazel_tools/haskell-windows-remove-fake-libs.patch
Andreas Herrmann 91f5dd573f stack update (#3935)
* Remove manual stack update

* Update rules_haskell

* rules_haskell_worker_dependencies after bazel-haskell-deps

* Update rules_haskell Windows patch

* make cabal haddock optional

* Don't generate Haddocks on stack_snapshot

Fails with ghc-lib and takes more time to build.

Co-authored-by: Andreas Herrmann <andreash87@gmx.ch>
2020-01-06 10:24:15 +00:00

13 lines
596 B
Diff

diff --git a/haskell/ghc_bindist.bzl b/haskell/ghc_bindist.bzl
index 884b2c31..2c97d50e 100644
--- a/haskell/ghc_bindist.bzl
+++ b/haskell/ghc_bindist.bzl
@@ -273,6 +273,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",