summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-07-04T14·54+0100
committerVincent Ambo <tazjin@google.com>2019-07-04T14·54+0100
commitca549e4edc55aabdd2ca38193f3049424f56ee02 (patch)
tree56cad8109435e4501c96d059a171be63017b41f7
parent0bc731ee1b0d065c5c39445372286d16a407cd31 (diff)
fix(bazel): Ensure that CC toolchain from Nix is used r/20
-rw-r--r--WORKSPACE10
1 files changed, 9 insertions, 1 deletions
diff --git a/WORKSPACE b/WORKSPACE
index bb69b80a3c56..c06fcc2ed3c4 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -12,7 +12,15 @@ local_repository(
   path = "third_party/bazel/rules_nixpkgs",
 )
 
-load("@io_tweag_rules_nixpkgs//nixpkgs:nixpkgs.bzl", "nixpkgs_local_repository", "nixpkgs_package")
+load(
+  "@io_tweag_rules_nixpkgs//nixpkgs:nixpkgs.bzl",
+  "nixpkgs_cc_configure",
+  "nixpkgs_package",
+)
+
+nixpkgs_cc_configure(
+  repositories = { "nixpkgs": "default.nix" },
+)
 
 # SECTION: Haskell