about summary refs log blame commit diff
path: root/third_party/bazel/rules_haskell/tests/binary-with-indirect-sysdeps/BUILD.bazel
blob: 195288882b1a2d180843bdeeb53e3ad0d5dff9a2 (plain) (tree)


























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

package(default_testonly = 1)

haskell_library(
    name = "hs-lib",
    srcs = ["HsLib.hs"],
    tags = ["requires_zlib"],
    deps = [
        "//tests/hackage:base",
        "@zlib.dev//:zlib",
    ],
)

haskell_test(
    name = "binary-with-indirect-sysdeps",
    srcs = ["Main.hs"],
    tags = ["requires_zlib"],
    deps = [
        ":hs-lib",
        "//tests/hackage:base",
    ],
)