chore: patch RN to use my fork of hermes
This commit is contained in:
@@ -13,6 +13,7 @@ stdenv.mkDerivation {
|
||||
"patchKeyChainPhase"
|
||||
"patchGlogPhase"
|
||||
"patchBoostPodSpec"
|
||||
"patchReactAndroidPhase"
|
||||
"installPhase"
|
||||
];
|
||||
|
||||
@@ -86,6 +87,12 @@ stdenv.mkDerivation {
|
||||
'https://sourceforge.net/projects/boost/files/boost/1.76.0/boost_1_76_0.tar.bz2' \
|
||||
'';
|
||||
|
||||
patchReactAndroidPhase = ''
|
||||
substituteInPlace ./node_modules/react-native/ReactAndroid/hermes-engine/build.gradle \
|
||||
--replace 'src("https://github.com/facebook/hermes/tarball/''${hermesVersion}")' \
|
||||
'src("https://github.com/siddarthkay/hermes/tarball/bump-max-native-stack-depth")' \
|
||||
'';
|
||||
|
||||
# The ELF types are incompatible with the host platform, so let's not even try
|
||||
# TODO: Use Android NDK to strip binaries manually
|
||||
dontPatchELF = true;
|
||||
|
||||
Reference in New Issue
Block a user