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:
parent
f8fad35230
commit
458b2cb7d6
@ -9794,6 +9794,7 @@ in
|
|||||||
inherit (callPackage ../development/interpreters/ruby {
|
inherit (callPackage ../development/interpreters/ruby {
|
||||||
inherit (darwin) libiconv libobjc libunwind;
|
inherit (darwin) libiconv libobjc libunwind;
|
||||||
inherit (darwin.apple_sdk.frameworks) Foundation;
|
inherit (darwin.apple_sdk.frameworks) Foundation;
|
||||||
|
bison = bison_3_5;
|
||||||
})
|
})
|
||||||
ruby_2_5
|
ruby_2_5
|
||||||
ruby_2_6
|
ruby_2_6
|
||||||
@ -10124,6 +10125,15 @@ in
|
|||||||
bison = callPackage ../development/tools/parsing/bison { };
|
bison = callPackage ../development/tools/parsing/bison { };
|
||||||
yacc = bison; # TODO: move to aliases.nix
|
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;
|
black = with python3Packages; toPythonApplication black;
|
||||||
|
|
||||||
blackmagic = callPackage ../development/tools/misc/blackmagic { };
|
blackmagic = callPackage ../development/tools/misc/blackmagic { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user