RISC-V: Add top-level alias for proper glibc

This commit is contained in:
Shea Levy 2018-02-24 10:07:54 -05:00
parent cdd1b8bc02
commit aaaa6f0a69
No known key found for this signature in database
GPG key ID: 5C0BD6957D86FE27

View file

@ -8819,12 +8819,13 @@ with pkgs;
glfw2 = callPackage ../development/libraries/glfw/2.x.nix { };
glfw3 = callPackage ../development/libraries/glfw/3.x.nix { };
glibc = callPackage ../development/libraries/glibc {
glibc_2_26 = callPackage ../development/libraries/glibc {
installLocales = config.glibc.locales or false;
};
glibc_2_27 = callPackage ../development/libraries/glibc/2.27.nix {
installLocales = config.glibc.locales or false;
};
glibc = if hostPlatform.isRiscV then glibc_2_27 else glibc_2_26;
glibc_memusage = callPackage ../development/libraries/glibc {
installLocales = false;