about summary refs log tree commit diff
path: root/third_party/nix/src/libexpr/primops
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-05-19T03·51+0100
committerVincent Ambo <tazjin@google.com>2020-05-19T03·51+0100
commitc7be956f3f5e2b50e3af72a6170a455f20b1643b (patch)
tree64af49d62c1047ca7b213d3083f88dbd89227b9d /third_party/nix/src/libexpr/primops
parentf8deeb144291e8da1e9bc1f497a67fc9428d7ba2 (diff)
style(3p/nix/libexpr): Reformat with clang-format r/760
Diffstat (limited to 'third_party/nix/src/libexpr/primops')
-rw-r--r--third_party/nix/src/libexpr/primops/fetchGit.cc2
-rw-r--r--third_party/nix/src/libexpr/primops/fetchMercurial.cc3
2 files changed, 3 insertions, 2 deletions
diff --git a/third_party/nix/src/libexpr/primops/fetchGit.cc b/third_party/nix/src/libexpr/primops/fetchGit.cc
index 07a0770a3fca..21994db07616 100644
--- a/third_party/nix/src/libexpr/primops/fetchGit.cc
+++ b/third_party/nix/src/libexpr/primops/fetchGit.cc
@@ -1,3 +1,4 @@
+#include <glog/logging.h>
 #include <sys/time.h>
 #include <nlohmann/json.hpp>
 #include <regex>
@@ -7,7 +8,6 @@
 #include "pathlocks.hh"
 #include "primops.hh"
 #include "store-api.hh"
-#include <glog/logging.h>
 
 using namespace std::string_literals;
 
diff --git a/third_party/nix/src/libexpr/primops/fetchMercurial.cc b/third_party/nix/src/libexpr/primops/fetchMercurial.cc
index 677855e85369..17fdb2b31897 100644
--- a/third_party/nix/src/libexpr/primops/fetchMercurial.cc
+++ b/third_party/nix/src/libexpr/primops/fetchMercurial.cc
@@ -141,7 +141,8 @@ HgInfo exportMercurial(ref<Store> store, const std::string& uri,
     hgInfo.storePath = json["storePath"];
 
     if (store->isValidPath(hgInfo.storePath)) {
-      DLOG(INFO) << "using cached Mercurial store path '" << hgInfo.storePath << "'";
+      DLOG(INFO) << "using cached Mercurial store path '" << hgInfo.storePath
+                 << "'";
       return hgInfo;
     }