Skip to content

Commit a8541ab

Browse files
committed
Run ghc_with_packages test only with nixpkgs
Remove the bindist toolchains, since these are not needed.
1 parent ed6659f commit a8541ab

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

rules_haskell_tests/tests/ghcWithPackages_2097/BUILD.bazel

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ load("//tests/integration_testing:rules_haskell_integration_test.bzl", "rules_ha
33
rules_haskell_integration_test(
44
name = "ghc_with_packages_test",
55
srcs = ["Test.hs"],
6+
# this test is only useful with a nixpkgs based ghc toolchain
7+
target_compatible_with = ["@rules_nixpkgs_core//constraints:support_nix"],
68
workspace_path = "test",
79
)
810

rules_haskell_tests/tests/ghcWithPackages_2097/test/WORKSPACE

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ haskell_register_ghc_nixpkgs(
1616
version = "9.4.8",
1717
)
1818

19-
load("@rules_haskell//haskell:toolchain.bzl", "rules_haskell_toolchains")
20-
21-
rules_haskell_toolchains(version = "9.4.8")
22-
2319
load(
2420
"@io_tweag_rules_nixpkgs//nixpkgs:nixpkgs.bzl",
2521
"nixpkgs_cc_configure",

0 commit comments

Comments
 (0)