titaniumenv: fix nasty IPA generation bug

(cherry picked from commit 0d7a0d7572)
This commit is contained in:
Sander van der Burg
2018-01-31 18:56:47 +01:00
parent 31ec7ad8ab
commit 2b89abef71

View File

@@ -23,7 +23,11 @@ stdenv.mkDerivation {
cd mobilesdk/*
mv * 6.3.1.GA
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
${if stdenv.system == "i686-linux" then