···59 "-DCMAKE_SKIP_BUILD_RPATH=OFF"
60 ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
61 "-D_gRPC_PROTOBUF_PROTOC_EXECUTABLE=${buildPackages.protobuf}/bin/protoc"
62- ] ++ lib.optionals
63- ((stdenv.hostPlatform.useLLVM or false) && lib.versionOlder stdenv.cc.cc.version "11.0") [
64 # Needs to be compiled with -std=c++11 for clang < 11. Interestingly this is
65 # only an issue with the useLLVM stdenv, not the darwin stdenv…
66 # https://github.com/grpc/grpc/issues/26473#issuecomment-860885484
···59 "-DCMAKE_SKIP_BUILD_RPATH=OFF"
60 ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
61 "-D_gRPC_PROTOBUF_PROTOC_EXECUTABLE=${buildPackages.protobuf}/bin/protoc"
62+ ] ++ lib.optionals ((stdenv.hostPlatform.useLLVM or false) && lib.versionOlder stdenv.cc.cc.version "11.0") [
063 # Needs to be compiled with -std=c++11 for clang < 11. Interestingly this is
64 # only an issue with the useLLVM stdenv, not the darwin stdenv…
65 # https://github.com/grpc/grpc/issues/26473#issuecomment-860885484