fix build with nix 2.14
This commit is contained in:
parent
94b3a3a43d
commit
54a9b26431
|
@ -21,6 +21,7 @@
|
||||||
#include <nix/error.hh>
|
#include <nix/error.hh>
|
||||||
#include <nix/installables.hh>
|
#include <nix/installables.hh>
|
||||||
#include <nix/path-with-outputs.hh>
|
#include <nix/path-with-outputs.hh>
|
||||||
|
#include <nix/installable-flake.hh>
|
||||||
|
|
||||||
#include <nix/value-to-json.hh>
|
#include <nix/value-to-json.hh>
|
||||||
|
|
||||||
|
@ -328,8 +329,9 @@ static void worker(ref<EvalState> state, Bindings &autoArgs, AutoCloseFD &to,
|
||||||
if (name == "recurseForDerivations") {
|
if (name == "recurseForDerivations") {
|
||||||
auto attrv =
|
auto attrv =
|
||||||
v->attrs->get(state->sRecurseForDerivations);
|
v->attrs->get(state->sRecurseForDerivations);
|
||||||
recurse =
|
recurse = state->forceBool(
|
||||||
state->forceBool(*attrv->value, attrv->pos);
|
*attrv->value, attrv->pos,
|
||||||
|
"while evaluating recurseForDerivations");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (recurse)
|
if (recurse)
|
||||||
|
|
Loading…
Reference in a new issue