Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.

Commit

Permalink
bison_3_5: init at 3.5.4, for ruby
Browse files Browse the repository at this point in the history
Ruby does not build with 3.6. To unblock staging-next, let it use the
previous bison version.
  • Loading branch information
FRidh committed Jun 4, 2020
1 parent f8fad35 commit 458b2cb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -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
Expand Down Expand Up @@ -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 { };
Expand Down

0 comments on commit 458b2cb

Please sign in to comment.