diff --git a/nix/scripts/node_modules.sh b/nix/scripts/node_modules.sh index edfa999a96..0ac2e4d0b0 100755 --- a/nix/scripts/node_modules.sh +++ b/nix/scripts/node_modules.sh @@ -46,7 +46,7 @@ copyNodeModules() { # WARNING: We can't de-reference .bin symlinks cp -Rf ${src}/node_modules/.bin/. "${tmp}/.bin/" # Cmake called by react-native-reanimated 3.3.0 during build creates read-only temporary files. - chmod -R u+w node_modules/react-native-reanimated/android/.cxx -f || true + chmod -R u+w node_modules/react-native-reanimated/android/ -f || true rm -r "${dst}" mv -f "${tmp}" "${dst}" }