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) {
|
||||
startNest(nest, lvlDebug,
|
||||
format("evaluating list element"));
|
||||
if (!getDerivation(state, *i, drvs, doneExprs))
|
||||
if (getDerivation(state, *i, drvs, doneExprs))
|
||||
getDerivations(state, *i, drvs, doneExprs, attrPathRest);
|
||||
}
|
||||
} 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);
|
||||
startNest(nest, lvlDebug,
|
||||
format("evaluating list element"));
|
||||
if (!getDerivation(state, e2, drvs, doneExprs))
|
||||
if (getDerivation(state, e2, drvs, doneExprs))
|
||||
getDerivations(state, e2, drvs, doneExprs, attrPathRest);
|
||||
}
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue