mirror of
https://github.com/NixOS/nix.git
synced 2025-11-11 13:06:01 +01:00
Flake schemas
This applies upstream https://github.com/NixOS/nix/pull/8892.
This commit is contained in:
parent
51583851a2
commit
6406619c44
25 changed files with 702 additions and 819 deletions
|
|
@ -444,11 +444,6 @@ ref<eval_cache::EvalCache> openEvalCache(
|
|||
: std::nullopt;
|
||||
auto rootLoader = [&state, lockedFlake]()
|
||||
{
|
||||
/* For testing whether the evaluation cache is
|
||||
complete. */
|
||||
if (getEnv("NIX_ALLOW_EVAL").value_or("1") == "0")
|
||||
throw Error("not everything is cached, but evaluation is not allowed");
|
||||
|
||||
auto vFlake = state.allocValue();
|
||||
flake::callFlake(state, *lockedFlake, *vFlake);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue