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