forked from lix-project/hydra
parent
3cc1deb125
commit
69a6f3448a
|
@ -109,9 +109,10 @@ static void worker(
|
||||||
nlohmann::json reply;
|
nlohmann::json reply;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
auto v = findAlongAttrPath(state, attrPath, autoArgs, *vRoot);
|
auto vTmp = findAlongAttrPath(state, attrPath, autoArgs, *vRoot);
|
||||||
|
|
||||||
state.forceValue(*v);
|
auto v = state.allocValue();
|
||||||
|
state.autoCallFunction(autoArgs, *vTmp, *v);
|
||||||
|
|
||||||
if (auto drv = getDerivation(state, *v, false)) {
|
if (auto drv = getDerivation(state, *v, false)) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue