diff options
author | Sander van der Burg <svanderburg@gmail.com> | 2019-02-21 21:42:05 +0100 |
---|---|---|
committer | Sander van der Burg <svanderburg@gmail.com> | 2019-02-21 21:42:05 +0100 |
commit | f3294b93ecb81549cad6def9c6828a2c6a716b3c (patch) | |
tree | 94dd8a46ab26dc00a90f3f39d8306e8c0628e38c /pkgs/development/mobile | |
parent | 9c26b10bee2ab6bd1448d6e21b275a52da9189da (diff) |
xcodeenv: fix generation of ad-hoc wireless installation page
Diffstat (limited to 'pkgs/development/mobile')
-rw-r--r-- | pkgs/development/mobile/xcodeenv/build-app.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/mobile/xcodeenv/build-app.nix b/pkgs/development/mobile/xcodeenv/build-app.nix index 720cf061f9a3..05ddf5366c72 100644 --- a/pkgs/development/mobile/xcodeenv/build-app.nix +++ b/pkgs/development/mobile/xcodeenv/build-app.nix @@ -129,9 +129,9 @@ stdenv.mkDerivation ({ ${stdenv.lib.optionalString enableWirelessDistribution '' # Add another hacky build product that enables wireless adhoc installations - appname="$(basename "$out/*.ipa" .ipa)" - sed -e "s|@INSTALL_URL@|${installURL}?bundleId=${bundleId}\&version=${appVersion}\&title=$appname|" ${./install.html.template} > $out/$appname.html - echo "doc install \"$out/$appname.html\"" >> $out/nix-support/hydra-build-products + appname="$(basename "$(echo $out/*.ipa)" .ipa)" + sed -e "s|@INSTALL_URL@|${installURL}?bundleId=${bundleId}\&version=${appVersion}\&title=$appname|" ${./install.html.template} > $out/''${appname}.html + echo "doc install \"$out/''${appname}.html\"" >> $out/nix-support/hydra-build-products ''} ''} ${stdenv.lib.optionalString generateXCArchive '' |