Compare commits

...
1 Commits
Author SHA1 Message Date
Siddarth Kumar 3c2bc328e8 chore: patch RN to use my fork of hermes 2024-01-25 15:58:52 +05:30
+7
View File
@@ -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;