run nix-fmt

This commit is contained in:
Jörg Thalheim committed 2023-09-02 18:08:41 +02:00
1 parent dd5cdd852c
commit 9de99e174c
1 file changed
+5 -4
+5 -4
View File
@@ -6,10 +6,11 @@ let
else if config.passwordFile != null else if config.passwordFile != null
then ''<(echo -n "$(cat ${config.passwordFile})")'' then ''<(echo -n "$(cat ${config.passwordFile})")''
else if config.keyFile != null else if config.keyFile != null
then lib.warn then
("The option `keyFile` is deprecated." lib.warn
+ "Use passwordFile instead if you want to use interactive login or settings.keyFile if you want to use key file login") ("The option `keyFile` is deprecated."
config.keyFile + "Use passwordFile instead if you want to use interactive login or settings.keyFile if you want to use key file login")
config.keyFile
else null; else null;
keyFileArgs = ''\ keyFileArgs = ''\
${lib.optionalString (keyFile != null) "--key-file ${keyFile}"} \ ${lib.optionalString (keyFile != null) "--key-file ${keyFile}"} \