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:
parent
230a00f644
commit
1a24278161
|
@ -85,6 +85,12 @@ stdenv.mkDerivation {
|
|||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue