xcodeenv: fix generation of ad-hoc wireless installation page

This commit is contained in:
Sander van der Burg 2019-02-21 21:42:05 +01:00
parent 9c26b10bee
commit f3294b93ec

View File

@ -129,9 +129,9 @@ stdenv.mkDerivation ({
${stdenv.lib.optionalString enableWirelessDistribution '' ${stdenv.lib.optionalString enableWirelessDistribution ''
# Add another hacky build product that enables wireless adhoc installations # Add another hacky build product that enables wireless adhoc installations
appname="$(basename "$out/*.ipa" .ipa)" appname="$(basename "$(echo $out/*.ipa)" .ipa)"
sed -e "s|@INSTALL_URL@|${installURL}?bundleId=${bundleId}\&version=${appVersion}\&title=$appname|" ${./install.html.template} > $out/$appname.html 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 echo "doc install \"$out/''${appname}.html\"" >> $out/nix-support/hydra-build-products
''} ''}
''} ''}
${stdenv.lib.optionalString generateXCArchive '' ${stdenv.lib.optionalString generateXCArchive ''