1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00

titaniumsdk: Add additional login simulation for the ipa target

This commit is contained in:
Sander van der Burg 2014-01-23 15:11:46 +01:00
parent 230a00f644
commit 1a24278161

View file

@ -84,6 +84,12 @@ stdenv.mkDerivation {
do
chmod 755 "$i"
done
# Simulate a login
mkdir -p $HOME/.titanium
cat > $HOME/.titanium/auth_session.json <<EOF
{ "loggedIn": true }
EOF
# Set the SDK to our copy
titanium --config-file $TMPDIR/config.json config sdk.defaultInstallLocation $TMPDIR/titaniumsdk