Skip to content

Commit

Permalink
Mark some fetchers as experimental
Browse files Browse the repository at this point in the history
  • Loading branch information
edolstra committed Oct 17, 2023
1 parent f62b550 commit 3470cd6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/libfetchers/github.cc
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,11 @@ struct GitArchiveInputScheme : InputScheme

return {result.tree.storePath, input};
}

std::optional<ExperimentalFeature> experimentalFeature() override
{
return Xp::Flakes;
}
};

struct GitHubInputScheme : GitArchiveInputScheme
Expand Down
5 changes: 5 additions & 0 deletions src/libfetchers/path.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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>()); });
Expand Down

0 comments on commit 3470cd6

Please sign in to comment.