diff options
author | Vincent Ambo <tazjin@google.com> | 2020-05-27T20·56+0100 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2020-05-27T20·56+0100 |
commit | 3652326ed281f5f753423acef51103fb8df62a6d (patch) | |
tree | 3e6969ccaa13e77eb42f887cd081b45d7fffed80 /third_party/nix/src/libstore/local-store.cc | |
parent | 86a35d963d7b6108dec44411c8ebd5aadbb148ac (diff) |
refactor(3p/nix): Anchor local includes at src/ r/865
Previously all includes were anchored in one global mess of header files. This moves the includes into filesystem "namespaces" (if you will) for each sub-package of Nix. Note: This commit does not introduce the relevant build system changes.
Diffstat (limited to 'third_party/nix/src/libstore/local-store.cc')
-rw-r--r-- | third_party/nix/src/libstore/local-store.cc | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/third_party/nix/src/libstore/local-store.cc b/third_party/nix/src/libstore/local-store.cc index ebc912969423..f9d03c520a7c 100644 --- a/third_party/nix/src/libstore/local-store.cc +++ b/third_party/nix/src/libstore/local-store.cc @@ -1,4 +1,4 @@ -#include "local-store.hh" +#include "libstore/local-store.hh" #include <algorithm> #include <cerrno> @@ -25,12 +25,13 @@ #include <unistd.h> #include <utime.h> -#include "archive.hh" -#include "derivations.hh" -#include "globals.hh" -#include "nar-info.hh" -#include "pathlocks.hh" -#include "worker-protocol.hh" +#include "generated/schema.sql.hh" +#include "libstore/derivations.hh" +#include "libstore/globals.hh" +#include "libstore/nar-info.hh" +#include "libstore/pathlocks.hh" +#include "libstore/worker-protocol.hh" +#include "libutil/archive.hh" namespace nix { |