diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c3ce352d912d..9209b47de3b4 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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;