Merge pull request #181384 from trofi/glibcLocales-only-glibc
glibcLocales, glibcLocalesUtf8: only define non-null on linux-glibc
This commit is contained in:
commit
62b1c34ac6
1 changed files with 3 additions and 3 deletions
|
@ -17869,13 +17869,13 @@ with pkgs;
|
||||||
|
|
||||||
relibc = callPackage ../development/libraries/relibc { };
|
relibc = callPackage ../development/libraries/relibc { };
|
||||||
|
|
||||||
# Only supported on Linux
|
# Only supported on Linux and only on glibc
|
||||||
glibcLocales =
|
glibcLocales =
|
||||||
if stdenv.hostPlatform.isLinux
|
if stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isGnu
|
||||||
then callPackage ../development/libraries/glibc/locales.nix { }
|
then callPackage ../development/libraries/glibc/locales.nix { }
|
||||||
else null;
|
else null;
|
||||||
glibcLocalesUtf8 =
|
glibcLocalesUtf8 =
|
||||||
if stdenv.hostPlatform.isLinux
|
if stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isGnu
|
||||||
then callPackage ../development/libraries/glibc/locales.nix { allLocales = false; }
|
then callPackage ../development/libraries/glibc/locales.nix { allLocales = false; }
|
||||||
else null;
|
else null;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue