mruby: Fix build with bison 3.6
This commit is contained in:
@@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ ruby bison ];
|
||||
|
||||
patches = [ ./bison-36-compat.patch ];
|
||||
|
||||
# Necessary so it uses `gcc` instead of `ld` for linking.
|
||||
# https://github.com/mruby/mruby/blob/35be8b252495d92ca811d76996f03c470ee33380/tasks/toolchains/gcc.rake#L25
|
||||
preBuild = if stdenv.isLinux then "unset LD" else null;
|
||||
|
||||
Reference in New Issue
Block a user