diff options
author | Sander van der Burg <svanderburg@gmail.com> | 2013-03-21 14:11:58 +0100 |
---|---|---|
committer | Sander van der Burg <svanderburg@gmail.com> | 2013-03-21 14:11:58 +0100 |
commit | 647bca444ced822a2735cbd39c23eff67b785729 (patch) | |
tree | 7242a82352f9ac74d3a4f44d3c747bd08ee15d84 /pkgs/development/mobile/titaniumenv/build-app.nix | |
parent | 1dbd3a55c4790394ecf43fc8f3b2442856df8241 (diff) |
Allow appnames with spaces everywhere
Diffstat (limited to 'pkgs/development/mobile/titaniumenv/build-app.nix')
-rw-r--r-- | pkgs/development/mobile/titaniumenv/build-app.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/development/mobile/titaniumenv/build-app.nix b/pkgs/development/mobile/titaniumenv/build-app.nix index 8fe9846c15af5..0d35e6c3c2a68 100644 --- a/pkgs/development/mobile/titaniumenv/build-app.nix +++ b/pkgs/development/mobile/titaniumenv/build-app.nix @@ -110,13 +110,17 @@ stdenv.mkDerivation { if target == "android" then ''cp $(ls build/android/bin/*.apk | grep -v '\-unsigned.apk') $out'' else if target == "iphone" && release then - "cp -av build/iphone/build/* $out" + '' + cp -av build/iphone/build/* $out + mkdir -p $out/nix-support + echo "file binary-dist \"$(echo $out/Release-iphoneos/*.ipa)\"" > $out/nix-support/hydra-build-products + '' else if target == "iphone" then "" else throw "Target: ${target} is not supported!"} ${if target == "android" then '' mkdir -p $out/nix-support - echo "file binary-dist $(ls $out/*.apk)" > $out/nix-support/hydra-build-products + echo "file binary-dist \"$(ls $out/*.apk)\"" > $out/nix-support/hydra-build-products '' else ""} ''; |