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/error.hh>
|
||||
#include <nix/installables.hh>
|
||||
#include <nix/path-with-outputs.hh>
|
||||
|
||||
#include <nix/value-to-json.hh>
|
||||
|
||||
|
@ -255,7 +256,7 @@ static void worker(ref<EvalState> state, Bindings &autoArgs, AutoCloseFD &to,
|
|||
std::optional<InstallableFlake> flake;
|
||||
if (myArgs.flake) {
|
||||
auto [flakeRef, fragment, outputSpec] =
|
||||
parseFlakeRefWithFragmentAndOutputsSpec(myArgs.releaseExpr,
|
||||
parseFlakeRefWithFragmentAndExtendedOutputsSpec(myArgs.releaseExpr,
|
||||
absPath("."));
|
||||
|
||||
flake.emplace(InstallableFlake({}, state, std::move(flakeRef), fragment,
|
||||
|
@ -263,7 +264,7 @@ static void worker(ref<EvalState> state, Bindings &autoArgs, AutoCloseFD &to,
|
|||
flake::LockFlags{
|
||||
.updateLockFile = false,
|
||||
.useRegistries = false,
|
||||
.allowMutable = false,
|
||||
.allowUnlocked = false,
|
||||
}));
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue