nixos/switch-to-configuraton: Add details about sockets

This commit is contained in:
Janne Heß 2021-12-09 13:51:18 +01:00
parent dac4f986ad
commit 6807628791
No known key found for this signature in database
GPG Key ID: 69165158F05265DF

View File

@ -161,6 +161,9 @@ sub handleModifiedUnit {
recordUnit($reloadListFile, $unit);
} elsif ($unit =~ /\.socket$/) {
# FIXME: do something?
# Attempt to fix this: https://github.com/NixOS/nixpkgs/pull/141192
# Revert of the attempt: https://github.com/NixOS/nixpkgs/pull/147609
# More details: https://github.com/NixOS/nixpkgs/issues/74899#issuecomment-981142430
} else {
my $unitInfo = parseUnit($newUnitFile);
if (boolIsTrue($unitInfo->{'X-ReloadIfChanged'} // "no")) {