titaniumenv: make the login keychain the default, before the generated keychain gets discarded. Otherwise, the keychain becomes corrupt

This commit is contained in:
Sander van der Burg 2014-10-27 17:30:08 +01:00
parent 8436f4d871
commit d2e2bdd81e

View File

@ -16,7 +16,10 @@ let
useGoogleAPIs = true;
};
deleteKeychain = "security delete-keychain $keychainName";
deleteKeychain = ''
security default-keychain -s login.keychain
security delete-keychain $keychainName
'';
in
stdenv.mkDerivation {
name = stdenv.lib.replaceChars [" "] [""] name;