pkgs/development/mobile: stdenv.lib -> lib
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user