diff --git a/src/nix/ls.cc b/src/nix/ls.cc
index a08e4c42c670b857ade8b67230a2d4a5517c423e..5a5fa8f62d92c05c3a4f14500c6ddce1f6b1e2db 100644
--- a/src/nix/ls.cc
+++ b/src/nix/ls.cc
@@ -50,7 +50,7 @@ struct MixLs : virtual Args
             }
         };
 
-        doPath = [&](const FSAccessor::Stat & st , const Path & curPath,
+        doPath = [&](const FSAccessor::Stat & st, const Path & curPath,
             const std::string & relPath, bool showDirectory)
         {
             if (st.type == FSAccessor::Type::tDirectory && !showDirectory) {