Make the indirect fetcher input scheme part of the Flakes XP feature

I don't know much about it, but by the number of times "flake" appears
in the code it seems like is part of flakes, at least for now.
This commit is contained in:
John Ericson 2023-09-28 21:35:36 -04:00
parent bfe1308d3f
commit 89b3952063

View file

@ -98,6 +98,11 @@ struct IndirectInputScheme : InputScheme
{
throw Error("indirect input '%s' cannot be fetched directly", input.to_string());
}
std::optional<ExperimentalFeature> experimentalFeature() override
{
return Xp::Flakes;
}
};
static auto rIndirectInputScheme = OnStartup([] { registerInputScheme(std::make_unique<IndirectInputScheme>()); });