Skip to content

Commit 8366d3b

Browse files
committed
DerivationBuildingGoal: Make almost everything private
1 parent a41b9e2 commit 8366d3b

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/libstore/include/nix/store/build/derivation-building-goal.hh

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ typedef enum { rpAccept, rpDecline, rpPostpone } HookReply;
2929
*/
3030
struct DerivationBuildingGoal : public Goal
3131
{
32+
DerivationBuildingGoal(
33+
const StorePath & drvPath, const Derivation & drv, Worker & worker, BuildMode buildMode = bmNormal);
34+
~DerivationBuildingGoal();
35+
36+
private:
37+
3238
/** The path of the derivation. */
3339
StorePath drvPath;
3440

@@ -86,10 +92,6 @@ struct DerivationBuildingGoal : public Goal
8692
*/
8793
std::string machineName;
8894

89-
DerivationBuildingGoal(
90-
const StorePath & drvPath, const Derivation & drv, Worker & worker, BuildMode buildMode = bmNormal);
91-
~DerivationBuildingGoal();
92-
9395
void timedOut(Error && ex) override;
9496

9597
std::string key() override;

0 commit comments

Comments
 (0)