Add experimental feature 'fetch-closure'

This commit is contained in:
Eelco Dolstra
2022-03-24 21:33:33 +01:00
parent e5f7029ba4
commit f902f3c2cb
4 changed files with 6 additions and 1 deletions
+2
View File
@@ -7,6 +7,8 @@ namespace nix {
static void prim_fetchClosure(EvalState & state, const Pos & pos, Value * * args, Value & v)
{
settings.requireExperimentalFeature(Xp::FetchClosure);
state.forceAttrs(*args[0], pos);
std::optional<std::string> fromStoreUrl;