config.structuredAttrsByDefault: add option

This commit is contained in:
Artturin 2022-11-17 18:30:58 +02:00
parent 1c4820efdd
commit 8ad0103a34
2 changed files with 5 additions and 1 deletions

View File

@ -156,7 +156,7 @@ let
# Experimental. For simple packages mostly just works,
# but for anything complex, be prepared to debug if enabling.
, __structuredAttrs ? false
, __structuredAttrs ? config.structuredAttrsByDefault or false
, env ? { }

View File

@ -47,6 +47,10 @@ let
feature = "set `strictDeps` to true by default";
};
structuredAttrsByDefault = mkMassRebuild {
feature = "set `__structuredAttrs` to true by default";
};
enableParallelBuildingByDefault = mkMassRebuild {
feature = "set `enableParallelBuilding` to true by default";
};