about summary refs log tree commit diff
path: root/third_party/bazel/rules_haskell/tests/package-id-clash/BUILD.bazel
blob: 9c1b91cf9b83112a10e8e4bc024bd5d45c12f06b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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",
    ],
)