mirror of
https://github.com/NixOS/nix.git
synced 2024-11-25 16:23:02 +00:00
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));
|
||||
|
||||
/* Get the derivation. */
|
||||
drv = std::make_unique<Derivation>(worker.evalStore.derivationFromPath(drvPath));
|
||||
drv = std::make_unique<Derivation>(worker.evalStore.readDerivation(drvPath));
|
||||
|
||||
haveDerivation();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user