diff options
author | ajs124 <ajs124@users.noreply.github.com> | 2022-10-28 00:47:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-28 00:47:15 +0200 |
commit | 32cf6b29aba87c0ce1b92a4b1561789100ca71a3 (patch) | |
tree | 58dda11bd15f45b20a14919893c00cb805f5271d /nixos | |
parent | 57e66d69758c6992c6f91c7fc397338810107dd9 (diff) | |
parent | 4db7061162a10c7b4ec7cbe4bf07234f3c68ce3a (diff) |
Merge pull request #194291 from bronson/sort-etc-clean
Sort /etc/.clean to reduce spurious file changes
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/system/etc/setup-etc.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/etc/setup-etc.pl b/nixos/modules/system/etc/setup-etc.pl index be6b2d9ae71ef..a048261a3df11 100644 --- a/nixos/modules/system/etc/setup-etc.pl +++ b/nixos/modules/system/etc/setup-etc.pl @@ -137,7 +137,7 @@ foreach my $fn (@oldCopied) { # Rewrite /etc/.clean. close CLEAN; -write_file("/etc/.clean", map { "$_\n" } @copied); +write_file("/etc/.clean", map { "$_\n" } sort @copied); # Create /etc/NIXOS tag if not exists. # When /etc is not on a persistent filesystem, it will be wiped after reboot, |