nixos/i18n: use glibcLocales from the host packages
The locale-archive is dependent on the endianness of the host system
This commit is contained in:
parent
81c37edce4
commit
09df3d5515
1 changed files with 2 additions and 2 deletions
|
@ -10,12 +10,12 @@ with lib;
|
|||
i18n = {
|
||||
glibcLocales = mkOption {
|
||||
type = types.path;
|
||||
default = pkgs.buildPackages.glibcLocales.override {
|
||||
default = pkgs.glibcLocales.override {
|
||||
allLocales = any (x: x == "all") config.i18n.supportedLocales;
|
||||
locales = config.i18n.supportedLocales;
|
||||
};
|
||||
defaultText = literalExpression ''
|
||||
pkgs.buildPackages.glibcLocales.override {
|
||||
pkgs.glibcLocales.override {
|
||||
allLocales = any (x: x == "all") config.i18n.supportedLocales;
|
||||
locales = config.i18n.supportedLocales;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue