glibc: install C.utf8 into locale dir instead of archive (#382522)

+4 -1
+4 -1
pkgs/development/libraries/glibc/default.nix
··· 119 if stdenv.buildPlatform.canExecute stdenv.hostPlatform then 120 '' 121 echo SUPPORTED-LOCALES=C.UTF-8/UTF-8 > ../glibc-2*/localedata/SUPPORTED 122 - make -j''${NIX_BUILD_CORES:-1} localedata/install-locales 123 '' 124 else 125 lib.optionalString stdenv.buildPlatform.isLinux
··· 119 if stdenv.buildPlatform.canExecute stdenv.hostPlatform then 120 '' 121 echo SUPPORTED-LOCALES=C.UTF-8/UTF-8 > ../glibc-2*/localedata/SUPPORTED 122 + # Don't install C.utf-8 into the archive, but into $out/lib/locale: on non-NixOS 123 + # systems with an empty /usr/lib/locale/locale-archive, glibc would fall back to 124 + # $libdir/locale/C.utf-8 instead of the locale archive of pkgs.glibc. See also #347965. 125 + make -j''${NIX_BUILD_CORES:-1} localedata/install-locale-files 126 '' 127 else 128 lib.optionalString stdenv.buildPlatform.isLinux