Merge pull request #182151 from amarshall/ruby-grpc-fix

defaultGemConfig.grpc: Fix build on v1.48.0+

authored by

Mario Rodas and committed by
GitHub
bafd0461 fe5f232c

+4
+4
pkgs/development/ruby-modules/gem-config/default.nix
··· 321 321 substituteInPlace Makefile \ 322 322 --replace '-Wno-invalid-source-encoding' "" 323 323 '' + lib.optionalString stdenv.isDarwin '' 324 + # For < v1.48.0 324 325 substituteInPlace src/ruby/ext/grpc/extconf.rb \ 325 326 --replace "ENV['AR'] = 'libtool -o' if RUBY_PLATFORM =~ /darwin/" "" 327 + # For >= v1.48.0 328 + substituteInPlace src/ruby/ext/grpc/extconf.rb \ 329 + --replace 'apple_toolchain = ' 'apple_toolchain = false && ' 326 330 ''; 327 331 }; 328 332