Skip to content

Commit f1f85aa

Browse files
committed
tests: Configure compat proxy and bazel features repos
1 parent 7c3aa20 commit f1f85aa

File tree

7 files changed

+56
-0
lines changed
  • rules_haskell_tests/tests

7 files changed

+56
-0
lines changed

rules_haskell_tests/tests/ghcWithPackages_2097/test/WORKSPACE

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@ nixpkgs_cc_configure(
2828
repository = "@rules_haskell//nixpkgs:default.nix",
2929
)
3030

31+
load("@bazel_features//:deps.bzl", "bazel_features_deps")
32+
33+
bazel_features_deps()
34+
35+
load("@rules_cc//cc:extensions.bzl", "compatibility_proxy_repo")
36+
37+
compatibility_proxy_repo()
38+
3139
nixpkgs_python_configure(
3240
repository = "@rules_haskell//nixpkgs:default.nix",
3341
)

rules_haskell_tests/tests/haskell_module/repl/haskell_module_repl_cross_library_deps_test/WORKSPACE

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,14 @@ nixpkgs_cc_configure(
4444
repository = "@rules_haskell//nixpkgs:default.nix",
4545
)
4646

47+
load("@bazel_features//:deps.bzl", "bazel_features_deps")
48+
49+
bazel_features_deps()
50+
51+
load("@rules_cc//cc:extensions.bzl", "compatibility_proxy_repo")
52+
53+
compatibility_proxy_repo()
54+
4755
nixpkgs_python_configure(
4856
repository = "@rules_haskell//nixpkgs:default.nix",
4957
)

rules_haskell_tests/tests/haskell_module/repl/haskell_module_repl_test/WORKSPACE

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,14 @@ nixpkgs_cc_configure(
4545
repository = "@rules_haskell//nixpkgs:default.nix",
4646
)
4747

48+
load("@bazel_features//:deps.bzl", "bazel_features_deps")
49+
50+
bazel_features_deps()
51+
52+
load("@rules_cc//cc:extensions.bzl", "compatibility_proxy_repo")
53+
54+
compatibility_proxy_repo()
55+
4856
nixpkgs_python_configure(
4957
repository = "@rules_haskell//nixpkgs:default.nix",
5058
)

rules_haskell_tests/tests/recompilation/recompilation_workspace/WORKSPACE

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,11 @@ nixpkgs_cc_configure(
3333
name = "nixpkgs_config_cc",
3434
repository = "@rules_haskell//nixpkgs:default.nix",
3535
)
36+
37+
load("@bazel_features//:deps.bzl", "bazel_features_deps")
38+
39+
bazel_features_deps()
40+
41+
load("@rules_cc//cc:extensions.bzl", "compatibility_proxy_repo")
42+
43+
compatibility_proxy_repo()

rules_haskell_tests/tests/repl-targets/hs_bin_repl_test/WORKSPACE

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,14 @@ nixpkgs_cc_configure(
3838
repository = "@rules_haskell//nixpkgs:default.nix",
3939
)
4040

41+
load("@bazel_features//:deps.bzl", "bazel_features_deps")
42+
43+
bazel_features_deps()
44+
45+
load("@rules_cc//cc:extensions.bzl", "compatibility_proxy_repo")
46+
47+
compatibility_proxy_repo()
48+
4149
nixpkgs_python_configure(
4250
repository = "@rules_haskell//nixpkgs:default.nix",
4351
)

rules_haskell_tests/tests/repl-targets/hs_lib_repl_test/WORKSPACE

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,14 @@ nixpkgs_cc_configure(
4747
repository = "@rules_haskell//nixpkgs:default.nix",
4848
)
4949

50+
load("@bazel_features//:deps.bzl", "bazel_features_deps")
51+
52+
bazel_features_deps()
53+
54+
load("@rules_cc//cc:extensions.bzl", "compatibility_proxy_repo")
55+
56+
compatibility_proxy_repo()
57+
5058
nixpkgs_python_configure(
5159
repository = "@rules_haskell//nixpkgs:default.nix",
5260
)

rules_haskell_tests/tests/stack-snapshot-deps/hs_override_stack_test/WORKSPACE

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,14 @@ nixpkgs_cc_configure(
3838
repository = "@rules_haskell//nixpkgs:default.nix",
3939
)
4040

41+
load("@bazel_features//:deps.bzl", "bazel_features_deps")
42+
43+
bazel_features_deps()
44+
45+
load("@rules_cc//cc:extensions.bzl", "compatibility_proxy_repo")
46+
47+
compatibility_proxy_repo()
48+
4149
nixpkgs_python_configure(
4250
repository = "@rules_haskell//nixpkgs:default.nix",
4351
)

0 commit comments

Comments
 (0)