forked from mirrors/nixpkgs
xcodeenv: fix generation of ad-hoc wireless installation page
This commit is contained in:
parent
9c26b10bee
commit
f3294b93ec
|
@ -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 ''
|
||||
|
|
Loading…
Reference in a new issue