Unverified Commit 3a8cd368 authored by Stanisław Pitucha's avatar Stanisław Pitucha Committed by GitHub
Browse files

rubyPackages.nokogiri: mark as broken for old libxml2 (#321431)

parents 2a99ef97 651cab9a
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -624,6 +624,11 @@ in
    ];
  } // lib.optionalAttrs stdenv.hostPlatform.isDarwin {
    buildInputs = [ libxml2 ];

    # libxml 2.12 upgrade requires these fixes
    # https://github.com/sparklemotion/nokogiri/pull/3032
    # which don't trivially apply to older versions
    meta.broken = (lib.versionOlder attrs.version "1.16.0") && (lib.versionAtLeast libxml2.version "2.12");
  });

  openssl = attrs: {