about summary refs log tree commit diff
path: root/third_party/nix/src/nix/command.cc
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/nix/command.cc')
-rw-r--r--third_party/nix/src/nix/command.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/third_party/nix/src/nix/command.cc b/third_party/nix/src/nix/command.cc
index 1825bb6136be..4c1220668c8a 100644
--- a/third_party/nix/src/nix/command.cc
+++ b/third_party/nix/src/nix/command.cc
@@ -111,7 +111,9 @@ void StorePathsCommand::run(ref<Store> store) {
   if (all) {
     if (installables.size())
       throw UsageError("'--all' does not expect arguments");
-    for (auto& p : store->queryAllValidPaths()) storePaths.push_back(p);
+    for (auto& p : store->queryAllValidPaths()) {
+      storePaths.push_back(p);
+    }
   }
 
   else {