status-react/nix/deps/nodejs-patched
Siddarth Kumar 3f02500797
various fixes for moving targetSDK to 33
- bump fork of @react-native-community/cameraroll
- upgrade react-native-navigation which includes fix for API 33
- patch react-native-navigation to remove reference of missing feature flag
- bump fork of react-native-webview
- upgrade python from 2.7 to 3.1
- upgrade nodejs to 18
- add missing deps hack function to gradle generation script
2024-05-03 13:24:05 +05:30
..
README.md Gradle: drop unavailable JCenter Bintray from config 2022-05-05 11:50:50 +02:00
default.nix various fixes for moving targetSDK to 33 2024-05-03 13:24:05 +05:30

README.md

Description

This Nix derivation takes the result of the nix/deps/nodejs/default.nix derivation and adjusts it for use with Gradle.

Details

Modules provided by yarn2nix are normally fine, but we use react-native-* packages which have their own gradle.build files that reference external Maven repositories:

repositories {
    google()
    maven { url "https://www.jitpack.io" }
}

And these need to be patched and replaced with mavenLocal() to make sure Gradle doesn't try to fetch dependencies from remote repos.

This derivation symlinks most of the modules found in the yarn2nix result and copies the ones that require patching of gradle.build files in patchGradlePhase.

It also applies other fixes like making BuildId static in patchBuildIdPhase and fixing a Hermes bug in patchHermesPhase.