nixos/git-daemon: fix 'exportAll' option

This commit is contained in:
Nikolay Amiantov 2014-11-07 15:50:01 +03:00
parent af1d09879b
commit 46b866cf63

View file

@ -122,7 +122,7 @@ in
+ (optionalString (cfg.basePath != "") "--base-path=${cfg.basePath} ")
+ (optionalString (cfg.listenAddress != "") "--listen=${cfg.listenAddress} ")
+ "--port=${toString cfg.port} --user=${cfg.user} --group=${cfg.group} ${cfg.options} "
+ "--verbose " + (optionalString cfg.exportAll "--export-all") + concatStringsSep " " cfg.repositories;
+ "--verbose " + (optionalString cfg.exportAll "--export-all ") + concatStringsSep " " cfg.repositories;
};
};