From 7bf20d7c17fe08f5c8ceb914b27b9be08da4454e Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Mon, 22 Jun 2020 09:29:55 +0200 Subject: [PATCH] ruby: use buildPackages.bison_3_5, fixes cross compilation Ruby is not compatible with the latest bison version we have so in 458b2cb7d67561c796c6f0660a97eea9b685fc65 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. --- pkgs/top-level/all-packages.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d293d0000b2..2b7cdf6acda 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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