Skip to content

Commit

Permalink
stdenv: disable libidn2+libunistring hack if external bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Joseph committed Feb 1, 2023
1 parent 3e347a5 commit 250c9e5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/stdenv/linux/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,7 @@ in
perl gnum4 bison;
dejagnu = super.dejagnu.overrideAttrs (a: { doCheck = false; } );

} // lib.optionalAttrs (!enableGccExternalBootstrapForStdenv) {
# We need libidn2 and its dependency libunistring as glibc dependency.
# To avoid the cycle, we build against bootstrap libc, nuke references,
# and use the result as input for our final glibc. We also pass this pair
Expand All @@ -422,6 +423,7 @@ in
"$out"/lib/lib*.so.*.*
'';
});
} // {

# This also contains the full, dynamically linked, final Glibc.
binutils = prevStage.binutils.override {
Expand Down

0 comments on commit 250c9e5

Please sign in to comment.