Advise using --extra-experimental-features instead of --experimental-features

Fixes #3737.
This commit is contained in:
Eelco Dolstra 2021-09-14 13:56:36 +02:00
parent e664270c2b
commit 01a4fa3b6e

View file

@ -166,7 +166,7 @@ bool Settings::isExperimentalFeatureEnabled(const std::string & name)
}
MissingExperimentalFeature::MissingExperimentalFeature(std::string feature)
: Error("experimental Nix feature '%1%' is disabled; use '--experimental-features %1%' to override", feature)
: Error("experimental Nix feature '%1%' is disabled; use '--extra-experimental-features %1%' to override", feature)
, missingFeature(feature)
{}