You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I am following the instructions to use rules_docker together with nixpkgs from here in the docs.
When I run bazel build //:example-image if fails with
[pranaysashank@nixos:~/src/nd]$ bazel build //:example-image
ERROR: While resolving toolchains for target //:example: No matching toolchains found for types @bazel_tools//tools/cpp:toolchain_type. Maybe --incompatible_use_cc_configure_from_rules_cc has been flipped and there is no default C++ toolchain added in the WORKSPACE file? See https://github.com/bazelbuild/bazel/issues/10134 for details and migration instructions.
ERROR: Analysis of target '//:example-image' failed; build aborted: No matching toolchains found for types @bazel_tools//tools/cpp:toolchain_type. Maybe --incompatible_use_cc_configure_from_rules_cc has been flipped and there is no default C++ toolchain added in the WORKSPACE file? See https://github.com/bazelbuild/bazel/issues/10134 for details and migration instructions.
INFO: Elapsed time: 0.481s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (4 packages loaded, 4 targets configured)
Describe the bug
I am following the instructions to use
rules_docker
together with nixpkgs from here in the docs.When I run
bazel build //:example-image
if fails withTo Reproduce
bazel run //:example
, should print"Hello from rules_haskell!"
bazel build //:example-image
, this should fail with the above mentioned errorExpected behavior
example-image should be built.
Environment
The text was updated successfully, but these errors were encountered: