Merge pull request #181384 from trofi/glibcLocales-only-glibc

glibcLocales, glibcLocalesUtf8: only define non-null on linux-glibc
This commit is contained in:
Artturi 2022-07-14 00:56:06 +03:00 committed by GitHub
commit 62b1c34ac6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17869,13 +17869,13 @@ with pkgs;
relibc = callPackage ../development/libraries/relibc { };
# Only supported on Linux
# Only supported on Linux and only on glibc
glibcLocales =
if stdenv.hostPlatform.isLinux
if stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isGnu
then callPackage ../development/libraries/glibc/locales.nix { }
else null;
glibcLocalesUtf8 =
if stdenv.hostPlatform.isLinux
if stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isGnu
then callPackage ../development/libraries/glibc/locales.nix { allLocales = false; }
else null;