From 205f05ac02e322b1f5f8be38d188fed578e8bc43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 18 Jan 2023 16:38:38 +0100 Subject: [PATCH] fix build with 2.13 --- src/nix-eval-jobs.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/nix-eval-jobs.cc b/src/nix-eval-jobs.cc index 4d6c2cd..7b22fc4 100644 --- a/src/nix-eval-jobs.cc +++ b/src/nix-eval-jobs.cc @@ -20,6 +20,7 @@ #include #include #include +#include #include @@ -255,15 +256,15 @@ static void worker(ref state, Bindings &autoArgs, AutoCloseFD &to, std::optional flake; if (myArgs.flake) { auto [flakeRef, fragment, outputSpec] = - parseFlakeRefWithFragmentAndOutputsSpec(myArgs.releaseExpr, - absPath(".")); + parseFlakeRefWithFragmentAndExtendedOutputsSpec(myArgs.releaseExpr, + absPath(".")); flake.emplace(InstallableFlake({}, state, std::move(flakeRef), fragment, outputSpec, {}, {}, flake::LockFlags{ .updateLockFile = false, .useRegistries = false, - .allowMutable = false, + .allowUnlocked = false, })); };