diff options
author | Nikolay Amiantov <ab@fmap.me> | 2014-11-07 15:50:01 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2014-11-07 15:50:01 +0300 |
commit | 46b866cf63d6df3f0ae5ba87ceea55fb460345a3 (patch) | |
tree | 5309c7f63a98ec13c6d4239e8b94fe5237419650 /nixos/modules/services/networking/git-daemon.nix | |
parent | af1d09879bf3546652c00efb7129e62a94534759 (diff) |
nixos/git-daemon: fix 'exportAll' option
Diffstat (limited to 'nixos/modules/services/networking/git-daemon.nix')
-rw-r--r-- | nixos/modules/services/networking/git-daemon.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/git-daemon.nix b/nixos/modules/services/networking/git-daemon.nix index 8c9243463aca..566936a7d0fa 100644 --- a/nixos/modules/services/networking/git-daemon.nix +++ b/nixos/modules/services/networking/git-daemon.nix @@ -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; }; }; |