stdenv: linux: inherit python3Minimal at stage3/stage4
python3Minimal was being rebuilt at stages 3 and 4. It is used only as a native build input (e.g. meson, glib build helpers); its outputs do not appear in the final stdenv's runtime closure. Inheriting from prevStage at stage3 and stage4 collapses 2 -> 1 build. Build-only dependency, safe with respect to the `disallowedRequisites` check on the final stdenv-linux.
This commit is contained in:
@@ -570,6 +570,7 @@ in
|
||||
libxcrypt
|
||||
nukeReferences
|
||||
autoconf269
|
||||
python3Minimal
|
||||
;
|
||||
# We build a special copy of libgmp which doesn't use libstdc++, because
|
||||
# xgcc++'s libstdc++ references the bootstrap-files (which is what
|
||||
@@ -634,6 +635,7 @@ in
|
||||
linuxHeaders
|
||||
libidn2
|
||||
libunistring
|
||||
python3Minimal
|
||||
;
|
||||
${localSystem.libc} = prevStage.${localSystem.libc};
|
||||
# Since this is the first fresh build of binutils since stage2, our own runtimeShell will be used.
|
||||
|
||||
Reference in New Issue
Block a user