lol

nixos/switch-to-configuration: Allow not filtering units

+7 -1
+4
nixos/doc/manual/development/what-happens-during-a-system-switch.chapter.md
··· 44 44 - Inspect what changed during these actions and print units that failed and 45 45 that were newly started 46 46 47 + By default, some units are filtered from the outputs to make it less spammy. 48 + This can be disabled for development or testing by setting the environment variable 49 + `STC_DISPLAY_ALL_UNITS=1` 50 + 47 51 Most of these actions are either self-explaining but some of them have to do 48 52 with our units or the activation script. For this reason, these topics are 49 53 explained in the next sections.
+3 -1
nixos/modules/system/activation/switch-to-configuration.pl
··· 599 599 $units_to_start{$unit} = 1; 600 600 record_unit($start_list_file, $unit); 601 601 # Don't spam the user with target units that always get started. 602 - $units_to_filter{$unit} = 1; 602 + if (($ENV{"STC_DISPLAY_ALL_UNITS"} // "") ne "1") { 603 + $units_to_filter{$unit} = 1; 604 + } 603 605 } 604 606 } 605 607