Merge pull request #44932 from oxij/stdenv/no-texinfo-rebuild-try-2
stdenv: linux: inherit texinfo in stage4 instead of the final stdenv
This commit is contained in:
commit
55e6e1b05e
@ -263,7 +263,7 @@ in
|
|||||||
# because gcc (since JAR support) already depends on zlib, and
|
# because gcc (since JAR support) already depends on zlib, and
|
||||||
# then if we already have a zlib we want to use that for the
|
# then if we already have a zlib we want to use that for the
|
||||||
# other purposes (binutils and top-level pkgs) too.
|
# other purposes (binutils and top-level pkgs) too.
|
||||||
inherit (prevStage) gettext gnum4 bison gmp perl zlib linuxHeaders;
|
inherit (prevStage) gettext gnum4 bison gmp perl texinfo zlib linuxHeaders;
|
||||||
${localSystem.libc} = getLibc prevStage;
|
${localSystem.libc} = getLibc prevStage;
|
||||||
binutils = super.binutils.override {
|
binutils = super.binutils.override {
|
||||||
# Don't use stdenv's shell but our own
|
# Don't use stdenv's shell but our own
|
||||||
@ -344,7 +344,6 @@ in
|
|||||||
concatMap (p: [ (getBin p) (getLib p) ])
|
concatMap (p: [ (getBin p) (getLib p) ])
|
||||||
[ gzip bzip2 xz bash binutils.bintools coreutils diffutils findutils
|
[ gzip bzip2 xz bash binutils.bintools coreutils diffutils findutils
|
||||||
gawk gnumake gnused gnutar gnugrep gnupatch patchelf ed paxctl
|
gawk gnumake gnused gnutar gnugrep gnupatch patchelf ed paxctl
|
||||||
texinfo
|
|
||||||
]
|
]
|
||||||
# Library dependencies
|
# Library dependencies
|
||||||
++ map getLib (
|
++ map getLib (
|
||||||
@ -363,7 +362,7 @@ in
|
|||||||
inherit (prevStage)
|
inherit (prevStage)
|
||||||
gzip bzip2 xz bash coreutils diffutils findutils gawk
|
gzip bzip2 xz bash coreutils diffutils findutils gawk
|
||||||
gnumake gnused gnutar gnugrep gnupatch patchelf
|
gnumake gnused gnutar gnugrep gnupatch patchelf
|
||||||
attr acl paxctl zlib pcre texinfo;
|
attr acl paxctl zlib pcre;
|
||||||
${localSystem.libc} = getLibc prevStage;
|
${localSystem.libc} = getLibc prevStage;
|
||||||
} // lib.optionalAttrs (super.targetPlatform == localSystem) {
|
} // lib.optionalAttrs (super.targetPlatform == localSystem) {
|
||||||
# Need to get rid of these when cross-compiling.
|
# Need to get rid of these when cross-compiling.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user