Skip to content

Commit d4613b4

Browse files
committed
remove haskell_genrule.bzl. just use genrule_impl.
and now succeeded in providing $(hc) etc.
1 parent 84c45e5 commit d4613b4

File tree

2 files changed

+2
-18
lines changed

2 files changed

+2
-18
lines changed

haskell/haskell_genrule.bzl

-16
This file was deleted.

rules_impl.bzl

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ load("@prelude//go:go_stdlib.bzl", "go_stdlib_impl")
3030
load("@prelude//go:go_test.bzl", "go_test_impl")
3131
load("@prelude//go/transitions:defs.bzl", "asan_attr", "cgo_enabled_attr", "coverage_mode_attr", "go_binary_transition", "go_exported_library_transition", "go_test_transition", "race_attr", "tags_attr")
3232
load("@prelude//haskell:haskell.bzl", "haskell_binary_impl", "haskell_library_impl", "haskell_prebuilt_library_impl", "haskell_toolchain_library_impl")
33-
load("@prelude//haskell:haskell_genrule.bzl", "haskell_genrule_impl")
3433
load("@prelude//haskell:haskell_ghci.bzl", "haskell_ghci_impl")
3534
load("@prelude//haskell:haskell_haddock.bzl", "haskell_haddock_impl")
3635
load("@prelude//haskell:haskell_ide.bzl", "haskell_ide_impl")
3736
load("@prelude//haskell:library_info.bzl", "HaskellLibraryProvider")
37+
load("@prelude//haskell:toolchain.bzl", "HaskellToolchainInfo")
3838
load("@prelude//http_archive:http_archive.bzl", "http_archive_impl")
3939
load("@prelude//java:java.bzl", _java_extra_attributes = "extra_attributes", _java_implemented_rules = "implemented_rules")
4040
load("@prelude//js:js.bzl", _js_extra_attributes = "extra_attributes", _js_implemented_rules = "implemented_rules")
@@ -190,7 +190,7 @@ extra_implemented_rules = struct(
190190
haskell_ide = haskell_ide_impl,
191191
haskell_prebuilt_library = haskell_prebuilt_library_impl,
192192
haskell_toolchain_library = haskell_toolchain_library_impl,
193-
haskell_genrule = haskell_genrule_impl,
193+
haskell_genrule = genrule_impl,
194194

195195
#lua
196196
cxx_lua_extension = cxx_lua_extension_impl,

0 commit comments

Comments
 (0)