Skip to content

Commit 2e4e637

Browse files
Configure cc toolchain with rules_nixpkgs
1 parent afed646 commit 2e4e637

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

WORKSPACE

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,15 @@ nixpkgs_local_repository(
4848
load(
4949
"@io_tweag_rules_nixpkgs//nixpkgs:nixpkgs.bzl",
5050
"nixpkgs_package",
51+
"nixpkgs_cc_configure",
5152
"nixpkgs_python_configure",
5253
)
5354

55+
nixpkgs_cc_configure(
56+
name = "nixpkgs_config_cc",
57+
repository = "@rules_haskell//nixpkgs:default.nix",
58+
)
59+
5460
nixpkgs_python_configure(repository = "@nixpkgs")
5561

5662
load("@rules_haskell//haskell:cabal.bzl", "stack_snapshot")

0 commit comments

Comments
 (0)