nixpkgs/pkgs/os-specific/linux/pam
Sergei Trofimovich d0c42dfaa7 pam: bind Linux-PAM locales from pam-specific folder (upstream patch)
Without the change `pam` packa looks up locales already registered via
`bindtextdomain()`:

- shadow: /nix/store/ymcln55n92xm25sk2pipqbcp5xghwc3j-shadow-4.13/share/locale/
- glibc: /nix/store/ibp4camsx1mlllwzh32yyqcq2r2xsy1a-glibc-2.37-8/share/locale

Note that there is no `pam` pne in the list.

The change adds extra lookup location:

- linux-pam: /nix/store/k1lvsb3vyw2ijk9naamnay5nwc4mibda-linux-pam-1.5.2/share/locale

Before the change:

    $ LANGUAGE=fi su
    Password:
    su: Authentication failure

After the change:

    $ LANGUAGE=fi ./result-su/bin/su
    Salasana:
    su: Tunnistautumisvirhe
2023-09-01 14:10:05 +01:00
..
default.nix pam: bind Linux-PAM locales from pam-specific folder (upstream patch) 2023-09-01 14:10:05 +01:00
suid-wrapper-path.patch linux-pam: make it use SUID wrapped version of unix_ckpwd 2022-01-28 13:33:44 -08:00