mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 22:16:16 +02:00
* Regression: semantics of the result of getDerivation() changed.
This commit is contained in:
parent
922697c8b2
commit
b90c00e63f
1 changed files with 2 additions and 2 deletions
|
@ -148,7 +148,7 @@ static void getDerivations(EvalState & state, Expr e,
|
||||||
for (ATermIterator i(es); i; ++i) {
|
for (ATermIterator i(es); i; ++i) {
|
||||||
startNest(nest, lvlDebug,
|
startNest(nest, lvlDebug,
|
||||||
format("evaluating list element"));
|
format("evaluating list element"));
|
||||||
if (!getDerivation(state, *i, drvs, doneExprs))
|
if (getDerivation(state, *i, drvs, doneExprs))
|
||||||
getDerivations(state, *i, drvs, doneExprs, attrPathRest);
|
getDerivations(state, *i, drvs, doneExprs, attrPathRest);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
@ -156,7 +156,7 @@ static void getDerivations(EvalState & state, Expr e,
|
||||||
if (!e2) throw Error(format("list index %1% in selection path not found") % attrIndex);
|
if (!e2) throw Error(format("list index %1% in selection path not found") % attrIndex);
|
||||||
startNest(nest, lvlDebug,
|
startNest(nest, lvlDebug,
|
||||||
format("evaluating list element"));
|
format("evaluating list element"));
|
||||||
if (!getDerivation(state, e2, drvs, doneExprs))
|
if (getDerivation(state, e2, drvs, doneExprs))
|
||||||
getDerivations(state, e2, drvs, doneExprs, attrPathRest);
|
getDerivations(state, e2, drvs, doneExprs, attrPathRest);
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue