1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-11 13:06:01 +01:00

DerivationBuildingGoal: Make almost everything private

This commit is contained in:
John Ericson 2025-08-29 15:40:10 -04:00
parent c6ba120000
commit eb56b181ae

View file

@ -29,6 +29,12 @@ typedef enum { rpAccept, rpDecline, rpPostpone } HookReply;
*/ */
struct DerivationBuildingGoal : public Goal struct DerivationBuildingGoal : public Goal
{ {
DerivationBuildingGoal(
const StorePath & drvPath, const Derivation & drv, Worker & worker, BuildMode buildMode = bmNormal);
~DerivationBuildingGoal();
private:
/** The path of the derivation. */ /** The path of the derivation. */
StorePath drvPath; StorePath drvPath;
@ -94,10 +100,6 @@ struct DerivationBuildingGoal : public Goal
*/ */
std::string machineName; std::string machineName;
DerivationBuildingGoal(
const StorePath & drvPath, const Derivation & drv, Worker & worker, BuildMode buildMode = bmNormal);
~DerivationBuildingGoal();
void timedOut(Error && ex) override; void timedOut(Error && ex) override;
std::string key() override; std::string key() override;