Use glibc-2.27 for RISC-V support.

This commit is contained in:
Shea Levy 2018-02-18 00:13:17 -05:00
parent 1d493f6171
commit 4f8a9ff1ac
No known key found for this signature in database
GPG key ID: 5C0BD6957D86FE27

View file

@ -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;
};