Use glibc-2.27 for RISC-V support.
This commit is contained in:
parent
1d493f6171
commit
4f8a9ff1ac
1 changed files with 5 additions and 1 deletions
|
@ -8763,7 +8763,11 @@ with pkgs;
|
|||
};
|
||||
|
||||
# Being redundant to avoid cycles on boot. TODO: find a better way
|
||||
glibcCross = callPackage ../development/libraries/glibc {
|
||||
glibcCross = let
|
||||
expr = if hostPlatform.isRiscV
|
||||
then ../development/libraries/glibc/2.27.nix
|
||||
else ../development/libraries/glibc;
|
||||
in callPackage expr {
|
||||
installLocales = config.glibc.locales or false;
|
||||
stdenv = crossLibcStdenv;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue