Hopefully really fix the OpenSSH/GnuPG agent assertion.

svn path=/nixos/trunk/; revision=18516
This commit is contained in:
Ludovic Courtès 2009-11-22 00:46:37 +00:00
parent ab3332a2eb
commit d912b510f5

View File

@ -342,9 +342,9 @@ in
{ assertion = if cfg.startOpenSSHAgent { assertion = if cfg.startOpenSSHAgent
then !cfg.startGnuPGAgent then !cfg.startGnuPGAgent
else (if cfg.startGnuPGAgent else if cfg.startGnuPGAgent
then !cfg.startOpenSSHAgent then !cfg.startOpenSSHAgent
else true); else true;
message = message =
"The OpenSSH agent and GnuPG agent cannot be started both. " "The OpenSSH agent and GnuPG agent cannot be started both. "
"Choose between `startOpenSSHAgent' and `startGnuPGAgent'."; "Choose between `startOpenSSHAgent' and `startGnuPGAgent'.";