forked from lix-project/lix
DerivationGoal::loadDerivation(): Don't use derivationFromPath()
This causes a recursive call to ensurePath(), which is not a good idea.
This commit is contained in:
parent
f71d84672b
commit
be64fb9b51
|
@ -194,7 +194,7 @@ void DerivationGoal::loadDerivation()
|
||||||
assert(worker.evalStore.isValidPath(drvPath));
|
assert(worker.evalStore.isValidPath(drvPath));
|
||||||
|
|
||||||
/* Get the derivation. */
|
/* Get the derivation. */
|
||||||
drv = std::make_unique<Derivation>(worker.evalStore.derivationFromPath(drvPath));
|
drv = std::make_unique<Derivation>(worker.evalStore.readDerivation(drvPath));
|
||||||
|
|
||||||
haveDerivation();
|
haveDerivation();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue