1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 09:31:01 +00:00

bison_3_5: init at 3.5.4, for ruby

Ruby does not build with 3.6. To unblock staging-next, let it use the
previous bison version.
This commit is contained in:
Frederik Rietdijk 2020-06-04 15:24:25 +02:00
parent f8fad35230
commit 458b2cb7d6

View file

@ -9794,6 +9794,7 @@ in
inherit (callPackage ../development/interpreters/ruby {
inherit (darwin) libiconv libobjc libunwind;
inherit (darwin.apple_sdk.frameworks) Foundation;
bison = bison_3_5;
})
ruby_2_5
ruby_2_6
@ -10124,6 +10125,15 @@ in
bison = callPackage ../development/tools/parsing/bison { };
yacc = bison; # TODO: move to aliases.nix
# Ruby fails to build with current bison
bison_3_5 = pkgs.bison.overrideAttrs (oldAttrs: rec {
version = "3.5.4";
src = fetchurl {
url = "mirror://gnu/${oldAttrs.pname}/${oldAttrs.pname}-${version}.tar.gz";
sha256 = "0a2cbrqh7mgx2dwf5qm10v68iakv1i0dqh9di4x5aqxsz96ibpf0";
};
});
black = with python3Packages; toPythonApplication black;
blackmagic = callPackage ../development/tools/misc/blackmagic { };