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 407407 ++ lib . optional ( lib . versionAtLeast attrs . version "1.53.0" && stdenv . hostPlatform . isDarwin && stdenv . hostPlatform . isAarch64 ) autoSignDarwinBinariesHook ;
408408 buildInputs = [ openssl ] ;
409409 hardeningDisable = [ "format" ] ;
410- env . NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-pointer-types" ;
411- patches = [
410+ env = lib . optionalAttrs ( lib . versionOlder attrs . version "1.68.1" ) {
411+ NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-pointer-types" ;
412+ } ;
413+ patches = lib . optionals ( lib . versionOlder attrs . version "1.65.0" ) [
412414 ( fetchpatch {
413415 name = "gcc-14-fixes.patch" ;
414416 url = "https://boringssl.googlesource.com/boringssl/+/c70190368c7040c37c1d655f0690bcde2b109a0d%5E%21/?format=TEXT" ;
You can’t perform that action at this time.
0 commit comments