File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
pkgs/development/ruby-modules/gem-config Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 410410 ++ lib . optional ( lib . versionAtLeast attrs . version "1.53.0" && stdenv . hostPlatform . isDarwin && stdenv . hostPlatform . isAarch64 ) autoSignDarwinBinariesHook ;
411411 buildInputs = [ openssl ] ;
412412 hardeningDisable = [ "format" ] ;
413- env . NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-pointer-types" ;
414- patches = [
413+ env = lib . optionalAttrs ( lib . versionOlder attrs . version "1.68.1" ) {
414+ NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-pointer-types" ;
415+ } ;
416+ patches = lib . optionals ( lib . versionOlder attrs . version "1.65.0" ) [
415417 ( fetchpatch {
416418 name = "gcc-14-fixes.patch" ;
417419 url = "https://boringssl.googlesource.com/boringssl/+/c70190368c7040c37c1d655f0690bcde2b109a0d%5E%21/?format=TEXT" ;
You can’t perform that action at this time.
0 commit comments