Skip to content

Commit

Permalink
we don't need this patch anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
siddarthkay committed Nov 4, 2023
1 parent f743dfe commit 71d393a
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions nix/deps/nodejs-patched/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ stdenv.mkDerivation {
"patchGradlePhase"
"patchBuildIdPhase"
"patchKeyChainPhase"
"patchReactNativeCameraKitPhase"
"patchJestPhase"
"installPhase"
];
Expand Down Expand Up @@ -77,17 +76,6 @@ stdenv.mkDerivation {
./node_modules/react-native-keychain/android/build.gradle
'';

# Fix for :react-native-camera-kit:compileDebugKotlin FAILED
# Error : CKCamera.kt: (183, 17): 'onScale' overrides nothing
# fix from : https://github.com/teslamotors/react-native-camera-kit/issues/535#issuecomment-1506229244
# note by library author : https://github.com/teslamotors/react-native-camera-kit/pull/551#issuecomment-1615305719
# TODO: remove this patch when we react-native-camera-kit releases a stable v14
patchReactNativeCameraKitPhase = ''
substituteInPlace ./node_modules/react-native-camera-kit/android/src/main/java/com/rncamerakit/CKCamera.kt --replace \
'override fun onScale(detector: ScaleGestureDetector?)' \
'override fun onScale(detector: ScaleGestureDetector)'
'';

# 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;
Expand Down

0 comments on commit 71d393a

Please sign in to comment.