diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-05-07 17:25:27 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-05-12 15:47:09 +0200 |
commit | ebc024df2287085d48ed6194aa756fd70c07f76c (patch) | |
tree | ced4e49829e4f462be1ec11f2014cbcb876c30cb /src/libstore/globals.cc | |
parent | 268ecf5b3f3efd4e2a1fd78d088bdc69c27b6c7e (diff) |
Show hint how to enable experimental features
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() |