Unverified Commit 62b1c34a authored by Artturi's avatar Artturi Committed by GitHub
Browse files

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

glibcLocales, glibcLocalesUtf8: only define non-null on linux-glibc
parents 4d00ba8c 38134efc
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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;