glibc: add support for C.utf-8

This commit is contained in:
Jörg Thalheim
2019-01-22 22:08:44 +00:00
parent 5e24fccba4
commit d966f31f23
2 changed files with 7 additions and 3 deletions
+2 -3
View File
@@ -56,9 +56,8 @@ callPackage ./common.nix { inherit stdenv; } {
'';
postInstall = ''
if test -n "$installLocales"; then
make -j''${NIX_BUILD_CORES:-1} -l''${NIX_BUILD_CORES:-1} localedata/install-locales
fi
echo SUPPORTED-LOCALES=C.UTF-8/UTF-8 > ../glibc-2*/localedata/SUPPORTED
make -j''${NIX_BUILD_CORES:-1} -l''${NIX_BUILD_CORES:-1} localedata/install-locales
test -f $out/etc/ld.so.cache && rm $out/etc/ld.so.cache