fetchTree: Use a feature flag

This commit is contained in:
Eelco Dolstra
2020-02-20 13:36:16 +01:00
parent 4ad5826a18
commit 890df325c7
2 changed files with 6 additions and 4 deletions
+2
View File
@@ -8,6 +8,8 @@ namespace nix {
static void prim_fetchTree(EvalState & state, const Pos & pos, Value * * args, Value & v)
{
settings.requireExperimentalFeature("fetch-tree");
std::shared_ptr<const fetchers::Input> input;
PathSet context;