daml/bazel_tools/haskell_public_ghci_repl_wrapper.patch
Moritz Kiefer 5b0faea2cf
Get haskell-ide-core to work on our codebase (#1692)
* Get haskell-ide-core to work on our codebase

* Fix ghc-lib-parser on Windows
2019-06-16 15:42:48 +02:00

23 lines
822 B
Diff

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"),
),