aboutsummaryrefslogtreecommitdiff
path: root/src/libstore
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2021-09-14 13:56:36 +0200
committerEelco Dolstra <edolstra@gmail.com>2021-09-14 13:56:36 +0200
commit01a4fa3b6e9e3a9a29d505241492e7d4ac3372f9 (patch)
tree5917017eef231f63cc29edf83168b0a70957308c /src/libstore
parente664270c2b8fd79ddfe0ab8c7f15a730728ed623 (diff)
Advise using --extra-experimental-features instead of --experimental-features
Fixes #3737.
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/globals.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/globals.cc b/src/libstore/globals.cc
index d3b27d7be..6934801e3 100644
--- a/src/libstore/globals.cc
+++ b/src/libstore/globals.cc
@@ -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)
{}