glibcLocales: not supported on non-glibc

This commit is contained in:
Will Dietz 2018-01-12 22:42:16 -06:00
parent 3b0d3248c9
commit 3f2619ad52
1 changed files with 2 additions and 2 deletions

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