examples in examples/toolchains
use a platform provided cc toolchain
#501
Labels
examples/toolchains
use a platform provided cc toolchain
#501
Describe the bug
i believe, the examples in
examples/toolchains
use a platform provided cc toolchain instead of arules_nixpkgs
provided one, as claimed by #286.To Reproduce
executing
cd examples/toolchains/go && nix-shell --command 'bazel run --config=nix :hello'
on nixos fails withAuto-Configuration Error: Cannot find gcc or CC; either correct your path or set the CC environment variable
.turning
nix-shell
intonix-shell --pure
in.github/workflows/workflow.yaml
causes ci to fail with the same error message too as demonstrated with #500.Expected behavior
if the cc toolchain was provided by
rules_nixpkgs
, switching to nixos ornix-shell --pure
should not prevent bazel from finding "gcc or CC".Environment
126e9f6
The text was updated successfully, but these errors were encountered: