aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoreldritch horrors <pennae@lix.systems>2024-08-11 01:37:40 +0200
committereldritch horrors <pennae@lix.systems>2024-08-18 09:10:05 +0000
commit91a74ba82afd5f1e0b780c61c5b60b2aa5a2b9f9 (patch)
tree7bf7e0e28fefdb36b4f389f79b9123b4e4d78ae3 /src
parentb66fd9ff4b8963d1ac10db23037aab1acba875cb (diff)
libstore: remove unused includes in worker code
Change-Id: I6c7fccc4e710e23a22faae2669cb75f2f6da27b4
Diffstat (limited to 'src')
-rw-r--r--src/libstore/build/derivation-goal.cc10
-rw-r--r--src/libstore/build/goal.cc1
2 files changed, 1 insertions, 10 deletions
diff --git a/src/libstore/build/derivation-goal.cc b/src/libstore/build/derivation-goal.cc
index aa89f9e7d..a3dd88ca2 100644
--- a/src/libstore/build/derivation-goal.cc
+++ b/src/libstore/build/derivation-goal.cc
@@ -1,23 +1,15 @@
#include "derivation-goal.hh"
#include "hook-instance.hh"
#include "worker.hh"
-#include "builtins.hh"
-#include "builtins/buildenv.hh"
-#include "references.hh"
#include "finally.hh"
-#include "archive.hh"
#include "compression.hh"
#include "common-protocol.hh"
-#include "common-protocol-impl.hh"
-#include "topo-sort.hh"
+#include "common-protocol-impl.hh" // IWYU pragma: keep
#include "local-store.hh" // TODO remove, along with remaining downcasts
#include "logging-json.hh"
#include "substitution-goal.hh"
#include "drv-output-substitution-goal.hh"
-#include <regex>
-#include <queue>
-
#include <fstream>
#include <sys/types.h>
#include <sys/socket.h>
diff --git a/src/libstore/build/goal.cc b/src/libstore/build/goal.cc
index a4e66d989..82861ad2b 100644
--- a/src/libstore/build/goal.cc
+++ b/src/libstore/build/goal.cc
@@ -1,5 +1,4 @@
#include "goal.hh"
-#include "worker.hh"
namespace nix {