nixos/fhsUserenv: make all locales available

This commit is contained in:
Pascal Bach 2019-04-02 22:42:59 +02:00
parent e23f1a227a
commit 977d1d8413

View File

@ -36,12 +36,14 @@ let
# base packages of the chroot # base packages of the chroot
# these match the host's architecture, glibc_multi is used for multilib # these match the host's architecture, glibc_multi is used for multilib
# builds. # builds. glibcLocales must be before glibc or glibc_multi as otherwiese
# the wrong LOCALE_ARCHIVE will be used where only C.UTF-8 is available.
basePkgs = with pkgs; basePkgs = with pkgs;
[ (if isMultiBuild then glibc_multi else glibc) [ glibcLocales
(if isMultiBuild then glibc_multi else glibc)
(toString gcc.cc.lib) bashInteractive coreutils less shadow su (toString gcc.cc.lib) bashInteractive coreutils less shadow su
gawk diffutils findutils gnused gnugrep gawk diffutils findutils gnused gnugrep
gnutar gzip bzip2 xz glibcLocales gnutar gzip bzip2 xz
]; ];
baseMultiPkgs = with pkgsi686Linux; baseMultiPkgs = with pkgsi686Linux;
[ (toString gcc.cc.lib) [ (toString gcc.cc.lib)