about summary refs log tree commit diff
path: root/pkgs/development/mobile
diff options
context:
space:
mode:
authorSander van der Burg <svanderburg@gmail.com>2018-01-31 18:56:47 +0100
committerSander van der Burg <svanderburg@gmail.com>2018-01-31 18:56:47 +0100
commit0d7a0d7572d35526ddf34b6d011b7b88a8904b36 (patch)
treed781853e9c5a9ab91e660e0f8666381954865ac2 /pkgs/development/mobile
parentb3970e7f5c2368fa9063aacbc2d6c99c62f78e9c (diff)
titaniumenv: fix nasty IPA generation bug
Diffstat (limited to 'pkgs/development/mobile')
-rw-r--r--pkgs/development/mobile/titaniumenv/titaniumsdk-6.3.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/development/mobile/titaniumenv/titaniumsdk-6.3.nix b/pkgs/development/mobile/titaniumenv/titaniumsdk-6.3.nix
index fac8af2b6f7e2..53963c100c74e 100644
--- a/pkgs/development/mobile/titaniumenv/titaniumsdk-6.3.nix
+++ b/pkgs/development/mobile/titaniumenv/titaniumsdk-6.3.nix
@@ -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