daml/bazel_tools/haskell_public_ghci_repl_wrapper.patch
Moritz Kiefer 8831000b97
Bump rules_haskell (#2585)
* Bump rules_haskell

The c2hs Windows patches and the include dir patches have been merged
upstream so we can remove them.
2019-08-19 17:29:37 +02:00

23 lines
804 B
Diff

diff --git a/haskell/repl.bzl b/haskell/repl.bzl
index 1d31257..6037b84 100644
--- a/haskell/repl.bzl
+++ b/haskell/repl.bzl
@@ -278,7 +278,7 @@ def _create_repl(hs, ctx, repl_info, output):
)
hs.actions.expand_template(
- template = ctx.file._ghci_repl_wrapper,
+ template = ctx.file.ghci_repl_wrapper,
output = output,
is_executable = True,
substitutions = {
@@ -361,7 +361,7 @@ haskell_repl = rule(
allow_single_file = True,
default = Label("@rules_haskell//haskell:assets/ghci_script"),
),
- "_ghci_repl_wrapper": attr.label(
+ "ghci_repl_wrapper": attr.label(
allow_single_file = True,
default = Label("@rules_haskell//haskell:private/ghci_repl_wrapper.sh"),
),