mirror of
https://github.com/NixOS/nix.git
synced 2025-11-11 21:16:02 +01:00
Revert flake-schemas for now
This commit is contained in:
parent
6ff6baaa35
commit
ffcc42faf4
25 changed files with 827 additions and 730 deletions
|
|
@ -449,6 +449,11 @@ 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