mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 11:00:19 +03:00
Merge pull request #178408 from trofi/add-config.enableParallelBuildingByDefault
config.configurePlatformsByDefault: init option
This commit is contained in:
commit
b0f5f5cc96
@ -111,9 +111,9 @@ let
|
||||
, # Target is not included by default because most programs don't care.
|
||||
# Including it then would cause needless mass rebuilds.
|
||||
#
|
||||
# TODO(@Ericson2314): Make [ "build" "host" ] always the default.
|
||||
# TODO(@Ericson2314): Make [ "build" "host" ] always the default / resolve #87909
|
||||
configurePlatforms ? lib.optionals
|
||||
(stdenv.hostPlatform != stdenv.buildPlatform)
|
||||
(stdenv.hostPlatform != stdenv.buildPlatform || config.configurePlatformsByDefault)
|
||||
[ "build" "host" ]
|
||||
|
||||
# TODO(@Ericson2314): Make unconditional / resolve #33599
|
||||
|
@ -50,6 +50,10 @@ let
|
||||
feature = "set <literal>enableParallelBuilding</literal> to true by default";
|
||||
};
|
||||
|
||||
configurePlatformsByDefault = mkMassRebuild {
|
||||
feature = "set <literal>configurePlatforms</literal> to <literal>[\"build\" \"host\"]</literal> by default";
|
||||
};
|
||||
|
||||
contentAddressedByDefault = mkMassRebuild {
|
||||
feature = "set <literal>__contentAddressed</literal> to true by default";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user