diff options
author | Ben Burdette <bburdette@gmail.com> | 2020-05-15 07:00:36 -0600 |
---|---|---|
committer | Ben Burdette <bburdette@gmail.com> | 2020-05-15 07:00:36 -0600 |
commit | 92123c6c798682f3a7c1f19984dcd3a06ad6be92 (patch) | |
tree | 5b6330756020c4b7759b328eb1e4de4bd65db3a9 /src/libstore/globals.cc | |
parent | 19694aa213961daa5cbe2263bfaca53dc068a40c (diff) | |
parent | 546b179d0a89e9f27a02e92004da0f8f08e5041a (diff) |
Merge remote-tracking branch 'upstream/master' into errors-phase-2
Diffstat (limited to 'src/libstore/globals.cc')
-rw-r--r-- | src/libstore/globals.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/globals.cc b/src/libstore/globals.cc index a0a2d850e..bee94cbd8 100644 --- a/src/libstore/globals.cc +++ b/src/libstore/globals.cc @@ -130,7 +130,7 @@ bool Settings::isExperimentalFeatureEnabled(const std::string & name) void Settings::requireExperimentalFeature(const std::string & name) { if (!isExperimentalFeatureEnabled(name)) - throw Error("experimental Nix feature '%s' is disabled", name); + throw Error("experimental Nix feature '%1%' is disabled; use '--experimental-features %1%' to override", name); } bool Settings::isWSL1() |