[...] if I add pkgs.bazel to my shell.nix and try to build my project, I get errors loading headers, e.g.
external/com_google_protobuf/src/google/protobuf/descriptor_database.h:40:10: fatal error: 'map' file not found
#include <map>
I can resolve this by adding both clang and gcc to my shell.nix. Not one or the other, but both. Which feels very odd.
And unfortunately for me, having both gcc and clang present breaks other things (building ruby native extensions).
Originally posted by @andrewhamon in #105573 (comment)
[...] if I add
pkgs.bazelto my shell.nix and try to build my project, I get errors loading headers, e.g.I can resolve this by adding both clang and gcc to my shell.nix. Not one or the other, but both. Which feels very odd.
And unfortunately for me, having both gcc and clang present breaks other things (building ruby native extensions).
Originally posted by @andrewhamon in #105573 (comment)