nixExperimental: init
This commit is contained in:
parent
f94876e77b
commit
8865881319
@ -227,6 +227,10 @@ in rec {
|
||||
inherit storeDir stateDir confDir boehmgc;
|
||||
});
|
||||
|
||||
nixExperimental = nixUnstable.overrideAttrs (prev: {
|
||||
patches = (prev.patches or []) ++ [ ./enable-all-experimental.patch ];
|
||||
});
|
||||
|
||||
nixFlakes = nixUnstable.overrideAttrs (prev: {
|
||||
patches = (prev.patches or []) ++ [ ./enable-flakes.patch ];
|
||||
});
|
||||
|
@ -0,0 +1,14 @@
|
||||
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()
|
@ -30099,7 +30099,8 @@ in
|
||||
nix
|
||||
nixStable
|
||||
nixUnstable
|
||||
nixFlakes;
|
||||
nixFlakes
|
||||
nixExperimental;
|
||||
|
||||
nixStatic = pkgsStatic.nix;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user