forked from mirrors/nixpkgs
stdenv: linux, darwin: don't build documentation for the the intermediate stages
For the cc of the intermediate stages, to be precise. Doing the same for bintools requires lots of refactoring. This is mainly for the future extensibility as now you can change documentation generation with impunity without rebuilding the whole of stdenv.
This commit is contained in:
parent
f1074211ce
commit
522437362a
|
@ -86,6 +86,7 @@ in rec {
|
|||
extraPackages = lib.optional (libcxx != null) libcxx;
|
||||
|
||||
nativeTools = false;
|
||||
propagateDoc = false;
|
||||
nativeLibc = false;
|
||||
inherit buildPackages coreutils gnugrep bintools;
|
||||
libc = last.pkgs.darwin.Libsystem;
|
||||
|
|
|
@ -89,6 +89,7 @@ let
|
|||
then null
|
||||
else lib.makeOverridable (import ../../build-support/cc-wrapper) {
|
||||
nativeTools = false;
|
||||
propagateDoc = false;
|
||||
nativeLibc = false;
|
||||
buildPackages = lib.optionalAttrs (prevStage ? stdenv) {
|
||||
inherit (prevStage) stdenv;
|
||||
|
|
Loading…
Reference in a new issue