Skip to content

Commit 75a2030

Browse files
committed
Skip building rts:add-one-hs target on Windows
See #2299
1 parent a0032e8 commit 75a2030

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

examples/MODULE.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ bazel_dep(
3737
name = "bazel_skylib",
3838
version = "1.7.1",
3939
)
40+
bazel_dep(name = "platforms", version = "0.0.11")
4041

4142
non_module_deps = use_extension(":non_module_deps.bzl", "non_module_deps")
4243
use_repo(

examples/rts/BUILD.bazel

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ haskell_toolchain_library(name = "rts")
1212
haskell_library(
1313
name = "add-one-hs",
1414
srcs = ["One.hs"],
15+
# FIXME: this is broken on Windows, see https://github.com/tweag/rules_haskell/issues/2299
16+
target_compatible_with = select({
17+
"@platforms//os:windows": ["@platforms//:incompatible"],
18+
"//conditions:default": [],
19+
}),
1520
deps = [":base"],
1621
)
1722

0 commit comments

Comments
 (0)