diff options
-rw-r--r-- | pkgs/stdenv/generic/make-derivation.nix | 2 | ||||
-rw-r--r-- | pkgs/top-level/config.nix | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/stdenv/generic/make-derivation.nix b/pkgs/stdenv/generic/make-derivation.nix index 09a71da93b6e5..2f02bc7d1d781 100644 --- a/pkgs/stdenv/generic/make-derivation.nix +++ b/pkgs/stdenv/generic/make-derivation.nix @@ -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 ? { } diff --git a/pkgs/top-level/config.nix b/pkgs/top-level/config.nix index a47655f114243..1de93a9f3fdea 100644 --- a/pkgs/top-level/config.nix +++ b/pkgs/top-level/config.nix @@ -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"; }; |