titaniumenv: fix nasty IPA generation bug

This commit is contained in:
Sander van der Burg 2018-01-31 18:56:47 +01:00
parent b3970e7f5c
commit 0d7a0d7572

View File

@ -23,6 +23,10 @@ stdenv.mkDerivation {
cd mobilesdk/* cd mobilesdk/*
mv * 6.3.1.GA mv * 6.3.1.GA
cd * cd *
${stdenv.lib.optionalString (stdenv.system == "x86_64-darwin") ''
# Fixes a bad archive copying error when generating an IPA file
sed -i -e "s|cp -rf|/bin/cp -rf|" iphone/cli/commands/_build.js
''}
# Patch some executables # Patch some executables