glibcLocales: not supported on non-glibc

This commit is contained in:
Will Dietz
2018-02-13 09:44:43 -06:00
parent 3b0d3248c9
commit 3f2619ad52
+2 -2
View File
@@ -8759,8 +8759,8 @@ with pkgs;
libcCross = assert targetPlatform != buildPlatform; libcCrossChooser targetPlatform.libc;
# Only supported on Linux
glibcLocales = if stdenv.isLinux then callPackage ../development/libraries/glibc/locales.nix { } else null;
# Only supported on Linux, using glibc
glibcLocales = if hostPlatform.libc == "glibc" then callPackage ../development/libraries/glibc/locales.nix { } else null;
glibcInfo = callPackage ../development/libraries/glibc/info.nix { };