style(3p/nix): Reformat all includes to match new style

This commit is contained in:
Vincent Ambo 2020-05-19 15:54:39 +01:00
parent b508f5b91a
commit c758de9d22
119 changed files with 298 additions and 106 deletions

View file

@ -1,4 +1,5 @@
#include "attr-path.hh"
#include "eval-inline.hh"
#include "util.hh"

View file

@ -2,6 +2,7 @@
#include <map>
#include <string>
#include "eval.hh"
namespace nix {

View file

@ -1,5 +1,7 @@
#include "attr-set.hh"
#include <algorithm>
#include "eval-inline.hh"
namespace nix {

View file

@ -1,6 +1,7 @@
#pragma once
#include <algorithm>
#include "nixexpr.hh"
#include "symbol-table.hh"

View file

@ -1,4 +1,5 @@
#include "common-eval-args.hh"
#include "download.hh"
#include "eval.hh"
#include "shared.hh"

View file

@ -1,13 +1,16 @@
#include "eval.hh"
#include <glog/logging.h>
#include <sys/resource.h>
#include <sys/time.h>
#include <unistd.h>
#include <algorithm>
#include <chrono>
#include <cstring>
#include <fstream>
#include <iostream>
#include <glog/logging.h>
#include <sys/resource.h>
#include <sys/time.h>
#include <unistd.h>
#include "derivations.hh"
#include "download.hh"
#include "eval-inline.hh"

View file

@ -3,6 +3,7 @@
#include <map>
#include <optional>
#include <unordered_map>
#include "attr-set.hh"
#include "config.hh"
#include "hash.hh"

View file

@ -1,4 +1,5 @@
#include "function-trace.hh"
#include <glog/logging.h>
namespace nix {

View file

@ -1,6 +1,7 @@
#pragma once
#include <chrono>
#include "eval.hh"
namespace nix {

View file

@ -1,7 +1,10 @@
#include "get-drvs.hh"
#include <glog/logging.h>
#include <cstring>
#include <regex>
#include <glog/logging.h>
#include "derivations.hh"
#include "eval-inline.hh"
#include "util.hh"

View file

@ -2,6 +2,7 @@
#include <map>
#include <string>
#include "eval.hh"
namespace nix {

View file

@ -1,4 +1,5 @@
#include "json-to-value.hh"
#include <cstring>
namespace nix {

View file

@ -1,6 +1,7 @@
#pragma once
#include <string>
#include "eval.hh"
namespace nix {

View file

@ -1,4 +1,5 @@
#include "names.hh"
#include "util.hh"
namespace nix {

View file

@ -2,6 +2,7 @@
#include <memory>
#include <regex>
#include "types.hh"
namespace nix {

View file

@ -1,5 +1,7 @@
#include "nixexpr.hh"
#include <cstdlib>
#include "derivations.hh"
#include "util.hh"

View file

@ -1,6 +1,7 @@
#pragma once
#include <map>
#include "symbol-table.hh"
#include "value.hh"

View file

@ -1,12 +1,15 @@
#include "primops.hh"
#include <algorithm>
#include <cstring>
#include <regex>
#include <dlfcn.h>
#include <glog/logging.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include <algorithm>
#include <cstring>
#include <regex>
#include "archive.hh"
#include "derivations.hh"
#include "download.hh"

View file

@ -1,5 +1,6 @@
#include <tuple>
#include <vector>
#include "eval.hh"
namespace nix {

View file

@ -1,7 +1,9 @@
#include <glog/logging.h>
#include <sys/time.h>
#include <nlohmann/json.hpp>
#include <regex>
#include <glog/logging.h>
#include <sys/time.h>
#include "download.hh"
#include "eval-inline.hh"
#include "hash.hh"

View file

@ -1,7 +1,9 @@
#include <glog/logging.h>
#include <sys/time.h>
#include <nlohmann/json.hpp>
#include <regex>
#include <glog/logging.h>
#include <sys/time.h>
#include "download.hh"
#include "eval-inline.hh"
#include "pathlocks.hh"

View file

@ -2,6 +2,7 @@
#include <map>
#include <unordered_set>
#include "types.hh"
namespace nix {

View file

@ -1,6 +1,8 @@
#include "value-to-json.hh"
#include <cstdlib>
#include <iomanip>
#include "eval-inline.hh"
#include "json.hh"
#include "util.hh"

View file

@ -2,6 +2,7 @@
#include <map>
#include <string>
#include "eval.hh"
#include "nixexpr.hh"

View file

@ -1,5 +1,7 @@
#include "value-to-xml.hh"
#include <cstdlib>
#include "eval-inline.hh"
#include "util.hh"
#include "xml-writer.hh"

View file

@ -2,6 +2,7 @@
#include <map>
#include <string>
#include "eval.hh"
#include "nixexpr.hh"