Mark some fetchers as experimental

This commit is contained in:
Eelco Dolstra 2023-10-17 14:57:29 +02:00
parent f62b5500ff
commit 3470cd68c4
2 changed files with 10 additions and 0 deletions

View file

@ -223,6 +223,11 @@ struct GitArchiveInputScheme : InputScheme
return {result.tree.storePath, input};
}
std::optional<ExperimentalFeature> experimentalFeature() override
{
return Xp::Flakes;
}
};
struct GitHubInputScheme : GitArchiveInputScheme

View file

@ -125,6 +125,11 @@ struct PathInputScheme : InputScheme
return {std::move(*storePath), input};
}
std::optional<ExperimentalFeature> experimentalFeature() override
{
return Xp::Flakes;
}
};
static auto rPathInputScheme = OnStartup([] { registerInputScheme(std::make_unique<PathInputScheme>()); });