Use glibc-2.27 for RISC-V support.
This commit is contained in:
parent
1d493f6171
commit
4f8a9ff1ac
@ -8763,7 +8763,11 @@ with pkgs;
|
|||||||
};
|
};
|
||||||
|
|
||||||
# Being redundant to avoid cycles on boot. TODO: find a better way
|
# 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;
|
installLocales = config.glibc.locales or false;
|
||||||
stdenv = crossLibcStdenv;
|
stdenv = crossLibcStdenv;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user