EvalError needs to reference an eval state now
This commit is contained in:
parent
c1ee00bf7c
commit
c3d8ca19b3
|
@ -50,7 +50,7 @@ Drv::Drv(std::string &attrPath, nix::EvalState &state, nix::DrvInfo &drvInfo,
|
|||
outputs[out.first] = localStore->printStorePath(*out.second);
|
||||
}
|
||||
} catch (const std::exception &e) {
|
||||
throw nix::EvalError("derivation '%s' does not have valid outputs: %s",
|
||||
throw state.error<nix::EvalError>("derivation '%s' does not have valid outputs: %s",
|
||||
attrPath, e.what());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue