From 89b39520630726b7c48e8cbc065643134352e43d Mon Sep 17 00:00:00 2001 From: John Ericson Date: Thu, 28 Sep 2023 21:35:36 -0400 Subject: [PATCH] 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. --- src/libfetchers/indirect.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/libfetchers/indirect.cc b/src/libfetchers/indirect.cc index 4874a43ff..e09d8bfb8 100644 --- a/src/libfetchers/indirect.cc +++ b/src/libfetchers/indirect.cc @@ -98,6 +98,11 @@ struct IndirectInputScheme : InputScheme { throw Error("indirect input '%s' cannot be fetched directly", input.to_string()); } + + std::optional experimentalFeature() override + { + return Xp::Flakes; + } }; static auto rIndirectInputScheme = OnStartup([] { registerInputScheme(std::make_unique()); });