summary refs log tree commit diff
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2014-11-07 15:50:01 +0300
committerNikolay Amiantov <ab@fmap.me>2014-11-07 15:50:01 +0300
commit46b866cf63d6df3f0ae5ba87ceea55fb460345a3 (patch)
tree5309c7f63a98ec13c6d4239e8b94fe5237419650
parentaf1d09879bf3546652c00efb7129e62a94534759 (diff)
downloadnixpkgs-46b866cf63d6df3f0ae5ba87ceea55fb460345a3.tar
nixpkgs-46b866cf63d6df3f0ae5ba87ceea55fb460345a3.tar.gz
nixpkgs-46b866cf63d6df3f0ae5ba87ceea55fb460345a3.tar.bz2
nixpkgs-46b866cf63d6df3f0ae5ba87ceea55fb460345a3.tar.lz
nixpkgs-46b866cf63d6df3f0ae5ba87ceea55fb460345a3.tar.xz
nixpkgs-46b866cf63d6df3f0ae5ba87ceea55fb460345a3.tar.zst
nixpkgs-46b866cf63d6df3f0ae5ba87ceea55fb460345a3.zip
nixos/git-daemon: fix 'exportAll' option
-rw-r--r--nixos/modules/services/networking/git-daemon.nix2
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 8c9243463ac..566936a7d0f 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;
     };
 
   };