about summary refs log blame commit diff
path: root/third_party/bazel/rules_haskell/tests/package-id-clash/BUILD.bazel
blob: 9c1b91cf9b83112a10e8e4bc024bd5d45c12f06b (plain) (tree)























                                                   
load(
    "@io_tweag_rules_haskell//haskell:haskell.bzl",
    "haskell_library",
)

package(default_testonly = 1)

haskell_library(
    name = "sublib",
    srcs = ["Foo.hs"],
    visibility = ["//visibility:public"],
    deps = ["//tests/hackage:base"],
)

haskell_library(
    name = "lib",
    srcs = ["Baz.hs"],
    visibility = ["//visibility:public"],
    deps = [
        ":sublib",
        "//tests/hackage:base",
        "//tests/package-id-clash/sublib",
    ],
)