forked from lix-project/nix-eval-jobs
fix build with 2.13
This commit is contained in:
parent
396a0d3045
commit
205f05ac02
|
@ -20,6 +20,7 @@
|
||||||
#include <nix/logging.hh>
|
#include <nix/logging.hh>
|
||||||
#include <nix/error.hh>
|
#include <nix/error.hh>
|
||||||
#include <nix/installables.hh>
|
#include <nix/installables.hh>
|
||||||
|
#include <nix/path-with-outputs.hh>
|
||||||
|
|
||||||
#include <nix/value-to-json.hh>
|
#include <nix/value-to-json.hh>
|
||||||
|
|
||||||
|
@ -255,15 +256,15 @@ static void worker(ref<EvalState> state, Bindings &autoArgs, AutoCloseFD &to,
|
||||||
std::optional<InstallableFlake> flake;
|
std::optional<InstallableFlake> flake;
|
||||||
if (myArgs.flake) {
|
if (myArgs.flake) {
|
||||||
auto [flakeRef, fragment, outputSpec] =
|
auto [flakeRef, fragment, outputSpec] =
|
||||||
parseFlakeRefWithFragmentAndOutputsSpec(myArgs.releaseExpr,
|
parseFlakeRefWithFragmentAndExtendedOutputsSpec(myArgs.releaseExpr,
|
||||||
absPath("."));
|
absPath("."));
|
||||||
|
|
||||||
flake.emplace(InstallableFlake({}, state, std::move(flakeRef), fragment,
|
flake.emplace(InstallableFlake({}, state, std::move(flakeRef), fragment,
|
||||||
outputSpec, {}, {},
|
outputSpec, {}, {},
|
||||||
flake::LockFlags{
|
flake::LockFlags{
|
||||||
.updateLockFile = false,
|
.updateLockFile = false,
|
||||||
.useRegistries = false,
|
.useRegistries = false,
|
||||||
.allowMutable = false,
|
.allowUnlocked = false,
|
||||||
}));
|
}));
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue