forked from mirrors/nixpkgs
titaniumenv: make the login keychain the default, before the generated keychain gets discarded. Otherwise, the keychain becomes corrupt
This commit is contained in:
parent
8436f4d871
commit
d2e2bdd81e
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue