daml/bazel_tools/haskell_public_ghci_repl_wrapper.patch

23 lines
822 B
Diff
Raw Normal View History

diff --git a/haskell/repl.bzl b/haskell/repl.bzl
index 4746d3c..2c836f7 100644
--- a/haskell/repl.bzl
+++ b/haskell/repl.bzl
@@ -296,7 +296,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 = {
@@ -375,7 +375,7 @@ haskell_repl = rule(
allow_single_file = True,
default = Label("@io_tweag_rules_haskell//haskell:assets/ghci_script"),
),
- "_ghci_repl_wrapper": attr.label(
+ "ghci_repl_wrapper": attr.label(
allow_single_file = True,
default = Label("@io_tweag_rules_haskell//haskell:private/ghci_repl_wrapper.sh"),
),