pkgs/development/mobile: stdenv.lib -> lib

This commit is contained in:
Pavol Rusnak
2021-01-21 20:45:23 +01:00
parent 7ed3d2df76
commit c3bbfb77ad
11 changed files with 42 additions and 42 deletions
@@ -1,4 +1,4 @@
{stdenv, fetchurl, unzip, makeWrapper}:
{stdenv, lib, fetchurl, unzip, makeWrapper}:
let
# Gradle is a build system that bootstraps itself. This is what it actually
@@ -87,7 +87,7 @@ stdenv.mkDerivation {
# Patch maven central repository with our own local directory. This prevents the builder from downloading Maven artifacts
sed -i -e 's|mavenCentral()|maven { url "${fakeMavenRepo}" }|' android/templates/build/proguard.gradle
${stdenv.lib.optionalString (stdenv.system == "x86_64-darwin") ''
${lib.optionalString (stdenv.system == "x86_64-darwin") ''
# Patch the strip frameworks script in the iPhone build template to not let
# it skip the strip phase. This is caused by an assumption on the file
# permissions in which Nix deviates from the standard.