nixos/apparmor: support custom i18n glibc locales
The i18n nixos module creates a customized glibcLocales package. Use the system specific glibcLocale instead of the vanilla one.
This commit is contained in:
parent
ad7ffe3a7c
commit
0f474b4c6c
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ config.security.apparmor.includes = {
|
|||
include "${pkgs.apparmor-profiles}/etc/apparmor.d/abstractions/base"
|
||||
r ${pkgs.stdenv.cc.libc}/share/locale/**,
|
||||
r ${pkgs.stdenv.cc.libc}/share/locale.alias,
|
||||
${lib.optionalString (pkgs.glibcLocales != null) "r ${pkgs.glibcLocales}/lib/locale/locale-archive,"}
|
||||
r ${config.i18n.glibcLocales}/lib/locale/locale-archive,
|
||||
${etcRule "localtime"}
|
||||
r ${pkgs.tzdata}/share/zoneinfo/**,
|
||||
r ${pkgs.stdenv.cc.libc}/share/i18n/**,
|
||||
|
|
Loading…
Reference in a new issue