Don't ignore assertion failures in getDerivation()

This commit is contained in:
Eelco Dolstra 2012-10-04 15:24:25 -04:00
parent a4ff9b0d08
commit 5fa688acf5

View file

@ -6,6 +6,7 @@
#include "shared.hh"
#include "store-api.hh"
#include "eval.hh"
#include "eval-inline.hh"
#include "util.hh"
#include "xml-writer.hh"
#include "get-drvs.hh"
@ -118,7 +119,7 @@ static void findJobsWrapped(EvalState & state, XMLWriter & doc,
DrvInfo drv;
if (getDerivation(state, v, drv)) {
if (getDerivation(state, v, drv, false)) {
XMLAttrs xmlAttrs;
Path drvPath;