mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 15:15:36 +00:00
15 lines
465 B
Diff
15 lines
465 B
Diff
|
diff --git a/src/libstore/globals.cc b/src/libstore/globals.cc
|
||
|
index d3b27d7be..e7d002e1d 100644
|
||
|
--- a/src/libstore/globals.cc
|
||
|
+++ b/src/libstore/globals.cc
|
||
|
@@ -172,8 +172,7 @@ MissingExperimentalFeature::MissingExperimentalFeature(std::string feature)
|
||
|
|
||
|
void Settings::requireExperimentalFeature(const std::string & name)
|
||
|
{
|
||
|
- if (!isExperimentalFeatureEnabled(name))
|
||
|
- throw MissingExperimentalFeature(name);
|
||
|
+ return;
|
||
|
}
|
||
|
|
||
|
bool Settings::isWSL1()
|