mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
config.structuredAttrsByDefault: add option
This commit is contained in:
parent
1c4820efdd
commit
8ad0103a34
@ -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 ? { }
|
||||
|
||||
|
@ -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";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user