Fix build

This commit is contained in:
Eelco Dolstra
2020-08-27 17:46:36 +02:00
parent e463f44bfc
commit 405c52b589
3 changed files with 13 additions and 9 deletions

View File

@ -473,7 +473,7 @@ int main(int argc, char * * argv)
auto outPath = store->makeOutputPath("out", h, drvName);
drv.env["out"] = store->printStorePath(outPath);
drv.outputs.insert_or_assign("out", DerivationOutput { .output = DerivationOutputInputAddressed { .path = outPath } });
auto newDrvPath = store->printStorePath(writeDerivation(store, drv, drvName));
auto newDrvPath = store->printStorePath(writeDerivation(*store, drv));
debug("rewrote aggregate derivation %s -> %s", store->printStorePath(drvPath), newDrvPath);