Skip to content

Commit 04bc146

Browse files
committed
(0.72.3) : remove patchHermesPhase
`./node_modules/react-native/react.gradle` path no longer exists in `react-native` 0.72.3
1 parent c55f92e commit 04bc146

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

nix/deps/nodejs-patched/default.nix

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ stdenv.mkDerivation {
99
phases = [
1010
"unpackPhase"
1111
"patchGradlePhase"
12-
"patchHermesPhase"
1312
"patchReactNativePhase"
1413
"patchPodPhase"
1514
"installPhase"
@@ -48,16 +47,6 @@ stdenv.mkDerivation {
4847
done
4948
'';
5049

51-
# Fix bugs in Hermes usage:
52-
# https://github.com/facebook/react-native/issues/25601#issuecomment-510856047
53-
# - Make PR builds also count as release builds
54-
# - Fix issue where hermes command is being called with same input/output file
55-
patchHermesPhase = ''
56-
substituteInPlace ./node_modules/react-native/react.gradle --replace \
57-
'targetName.toLowerCase().contains("release")' \
58-
'!targetName.toLowerCase().contains("debug")'
59-
'';
60-
6150
installPhase = ''
6251
mkdir -p $out
6352
cp -R node_modules $out/

0 commit comments

Comments
 (0)