From 91a74ba82afd5f1e0b780c61c5b60b2aa5a2b9f9 Mon Sep 17 00:00:00 2001 From: eldritch horrors Date: Sun, 11 Aug 2024 01:37:40 +0200 Subject: [PATCH] libstore: remove unused includes in worker code Change-Id: I6c7fccc4e710e23a22faae2669cb75f2f6da27b4 --- src/libstore/build/derivation-goal.cc | 10 +--------- src/libstore/build/goal.cc | 1 - 2 files changed, 1 insertion(+), 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 -#include - #include #include #include 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 {