ruby_2_7, ruby_3_0: use latest bison, not outdated bison_3_5

Upstream ported to latest bison starting frun ruby-2.7.
While at it use latest autoconf-2.70 as well.
This commit is contained in:
Sergei Trofimovich
2021-10-23 08:57:09 +01:00
parent f79dcf6535
commit 281f0f4576
-11
View File
@@ -13503,8 +13503,6 @@ with pkgs;
inherit (callPackage ../development/interpreters/ruby {
inherit (darwin) libiconv libobjc libunwind;
inherit (darwin.apple_sdk.frameworks) Foundation;
autoreconfHook = buildPackages.autoreconfHook269;
bison = buildPackages.bison_3_5;
})
ruby_2_7
ruby_3_0;
@@ -13950,15 +13948,6 @@ with pkgs;
bison = callPackage ../development/tools/parsing/bison { };
# Ruby fails to build with current bison
bison_3_5 = bison.overrideAttrs (oldAttrs: rec {
version = "3.5.4";
src = fetchurl {
url = "mirror://gnu/${oldAttrs.pname}/${oldAttrs.pname}-${version}.tar.gz";
sha256 = "0a2cbrqh7mgx2dwf5qm10v68iakv1i0dqh9di4x5aqxsz96ibpf0";
};
});
bisoncpp = callPackage ../development/tools/parsing/bisonc++ { };
black = with python3Packages; toPythonApplication black;