1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-19 23:03:53 -04:00

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>()); });