ruby: use buildPackages.bison_3_5, fixes cross compilation

Ruby is not compatible with the latest bison version we have so in
458b2cb7d6 I made it use the older 3.5.
This broke cross-compilation. bison is a native build input, so we need
to take it from the `buildPackages` set.
This commit is contained in:
Frederik Rietdijk 2020-06-22 09:29:55 +02:00
parent 79218383b7
commit 7bf20d7c17

View File

@ -9808,7 +9808,7 @@ in
inherit (callPackage ../development/interpreters/ruby {
inherit (darwin) libiconv libobjc libunwind;
inherit (darwin.apple_sdk.frameworks) Foundation;
bison = bison_3_5;
bison = buildPackages.bison_3_5;
})
ruby_2_5
ruby_2_6