1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-30 14:10:59 +01:00

Gate the external gc behind an xp feature flag

This commit is contained in:
Théophane Hufschmitt 2022-04-11 10:20:37 +02:00
parent 240f1614d8
commit 8de54ed4e1
4 changed files with 7 additions and 1 deletions

View file

@ -11,6 +11,7 @@ std::map<ExperimentalFeature, std::string> stringifiedXpFeatures = {
{ Xp::NixCommand, "nix-command" },
{ Xp::RecursiveNix, "recursive-nix" },
{ Xp::NoUrlLiterals, "no-url-literals" },
{ Xp::ExternalGCDaemon, "external-gc-daemon" },
};
const std::optional<ExperimentalFeature> parseExperimentalFeature(const std::string_view & name)