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 {