Fix build

(cherry picked from commit 639c660abf)
This commit is contained in:
Eelco Dolstra
2020-02-15 14:54:21 +01:00
parent 5308e514ad
commit adf61e5cf8
2 changed files with 9 additions and 4 deletions

View File

@ -136,6 +136,9 @@ struct Build
std::atomic_bool finishedInDB{false};
Build(nix::StorePath && drvPath) : drvPath(std::move(drvPath))
{ }
std::string fullJobName()
{
return projectName + ":" + jobsetName + ":" + jobName;
@ -201,6 +204,9 @@ struct Step
nix::Sync<State> state;
Step(nix::StorePath && drvPath) : drvPath(std::move(drvPath))
{ }
~Step()
{
//printMsg(lvlError, format("destroying step %1%") % drvPath);