diff options
author | Robert Hensing <roberth@users.noreply.github.com> | 2023-05-18 14:33:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-18 14:33:52 +0200 |
commit | b1c34c0ee808f60da32f09e238087106b9c4f680 (patch) | |
tree | a9b3c0cf46cb054e88575dd9b5c87ff46d098f48 | |
parent | c27fb7229442aa3808697af53101b99d7214cd9c (diff) | |
parent | 9923403d90e4aa4b7a7a7c27840295ba9b659a97 (diff) |
Merge pull request #8366 from obsidiansystems/worker-proto-forward-decl-types
Don't use `store-api.hh` in `worker-protocol.hh`
-rw-r--r-- | src/libstore/path-info.cc | 1 | ||||
-rw-r--r-- | src/libstore/worker-protocol.hh | 10 |
2 files changed, 10 insertions, 1 deletions
diff --git a/src/libstore/path-info.cc b/src/libstore/path-info.cc index e60d7abe0..7eeda35d1 100644 --- a/src/libstore/path-info.cc +++ b/src/libstore/path-info.cc @@ -1,5 +1,6 @@ #include "path-info.hh" #include "worker-protocol.hh" +#include "store-api.hh" namespace nix { diff --git a/src/libstore/worker-protocol.hh b/src/libstore/worker-protocol.hh index 34b2fc17b..fa7202ae6 100644 --- a/src/libstore/worker-protocol.hh +++ b/src/libstore/worker-protocol.hh @@ -1,7 +1,6 @@ #pragma once ///@file -#include "store-api.hh" #include "serialise.hh" namespace nix { @@ -79,6 +78,15 @@ typedef enum { class Store; struct Source; +// items being serialized +struct DerivedPath; +struct DrvOutput; +struct Realisation; +struct BuildResult; +struct KeyedBuildResult; +enum TrustedFlag : bool; + + /** * Used to guide overloading * |