From 0144b6a270f25097d0db2f2b773de1d8862eafea Mon Sep 17 00:00:00 2001 From: Jared Baur Date: Wed, 5 Jun 2024 20:24:21 -0700 Subject: [PATCH] nixos/switch-to-configuration: add a note for future modifications Any future behavioral modifications to switch-to-configuration should also be made to switch-to-configuration-ng. Leave a note at the top of the script to ensure people don't forget. --- nixos/modules/system/activation/switch-to-configuration.pl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nixos/modules/system/activation/switch-to-configuration.pl b/nixos/modules/system/activation/switch-to-configuration.pl index cabc1dcc2d65..4beca4f0a42a 100755 --- a/nixos/modules/system/activation/switch-to-configuration.pl +++ b/nixos/modules/system/activation/switch-to-configuration.pl @@ -1,5 +1,10 @@ #! @perl@/bin/perl +# NOTE: This script has an alternative implementation at +# . Any behavioral +# modifications to this script should also be made to that implementation. + + # Issue #166838 uncovered a situation in which a configuration not suitable # for the target architecture caused a cryptic error message instead of # a clean failure. Due to this mismatch, the perl interpreter in the shebang