mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 12:15:34 +03:00
nixos/user-groups: Don't double-UTF8-encode subUidMapFile
Because with it only being single-UTF8-decoded, this lead to the file ~doubling in size whenever it contained any non-ascii characters!
This commit is contained in:
parent
900be64ef1
commit
8181d2a7c1
1 changed files with 1 additions and 1 deletions
|
@ -376,4 +376,4 @@ foreach my $u (values %usersOut) {
|
|||
|
||||
updateFile("/etc/subuid", join("\n", @subUids) . "\n");
|
||||
updateFile("/etc/subgid", join("\n", @subGids) . "\n");
|
||||
updateFile($subUidMapFile, encode_json($subUidMap) . "\n");
|
||||
updateFile($subUidMapFile, to_json($subUidMap) . "\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue