about summary refs log tree commit diff
path: root/third_party/nix/src/nix/search.cc
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/nix/search.cc')
-rw-r--r--third_party/nix/src/nix/search.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/third_party/nix/src/nix/search.cc b/third_party/nix/src/nix/search.cc
index f44269eee5..994fccd564 100644
--- a/third_party/nix/src/nix/search.cc
+++ b/third_party/nix/src/nix/search.cc
@@ -260,7 +260,9 @@ struct CmdSearch : SourceExprCommand, MixJSON {
       throw Error("no results for the given search term(s)!");
 
     RunPager pager;
-    for (auto el : results) std::cout << el.second << "\n";
+    for (auto el : results) {
+      std::cout << el.second << "\n";
+    }
   }
 };