I tried doing a clean pod install and was faced with this : ``` Installing Yoga (1.14.0) Installing boost (1.76.0) [!] Error installing boost Verification checksum was incorrect, expected f0397ba6e982c4450f27bf32a2a83292aba035b827a5623a14636ea583318c41, got 5e89103d9b70bba5c91a794126b169cb67654be2051f90cf7c22ba6893ede0ff ``` related issue in react-native repo : https://github.com/facebook/react-native/issues/42180 In this commit we patch the pod specs provided by react native to rely on `sourceforge` instead `jfrog` to get boost. |
||
---|---|---|
.. | ||
README.md | ||
default.nix |
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
.