forked from mirrors/nixpkgs
nixos: Take glibcLocales from buildPackages.
No need to cross-compile pure data...
This commit is contained in:
parent
ed5bd8ad49
commit
aebb024b2f
|
@ -10,7 +10,7 @@ with lib;
|
|||
i18n = {
|
||||
glibcLocales = mkOption {
|
||||
type = types.path;
|
||||
default = pkgs.glibcLocales.override {
|
||||
default = pkgs.buildPackages.glibcLocales.override {
|
||||
allLocales = any (x: x == "all") config.i18n.supportedLocales;
|
||||
locales = config.i18n.supportedLocales;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue