Merge pull request #142598 from trofi/ruby-use-up-to-date-bison

ruby_2_7, ruby_3_0: use latest bison, not outdated bison_3_5
This commit is contained in:
Mario Rodas
2021-10-23 08:53:21 -05:00
committed by GitHub
-11
View File
@@ -13504,8 +13504,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;
@@ -13951,15 +13949,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;