3
0
Fork 0
forked from mirrors/nixpkgs

nixos: Take glibcLocales from buildPackages.

No need to cross-compile pure data...
This commit is contained in:
Shea Levy 2018-02-27 21:01:15 -05:00
parent ed5bd8ad49
commit aebb024b2f
No known key found for this signature in database
GPG key ID: 5C0BD6957D86FE27

View file

@ -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;
};